Azure / Azure/azure-sdk-for-python
[core] add a `basic_schema_validation` function to `azure.core.serialization`
Open
Azure.Core
- Dominant language
- Python
- Stars
- 5.6k
- Forks
- 3.4k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 193
Description
Add a function that takes in an msrest / dpg model, and a rest payload of that model. Then do basic validation to make sure the types are all correct. I.e. if we're expecting a string but we get an int for a property, throw a `ValidationError` / some other kind of deserialization error
Contributor guide
Assessment
This issue has not been assessed yet.