Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert top level deserializers #2

Merged
merged 6 commits into from
Feb 12, 2020

Conversation

adamconnelly
Copy link
Owner

This PR converts the deserializers that aren't for deserializing a specific resource over to the new approach. The resource deserializers will be updated in a separate PR.

Converted AzureMetricConfigurationDeserializer to the new way of defining a deserializer, and added support in the base Deserializer for using another deserializer to deserialize child properties.

I had to add a new `IDeserializer` interface that isn't generic to allow us to deserialize a child property at runtime without knowing its type.
@adamconnelly adamconnelly merged commit f420135 into validation-improvements Feb 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants