Azure / Azure/azure-sdk-for-python

[core] add a `basic_schema_validation` function to `azure.core.serialization`

Open
#41,439 0 comments 0 reactions 1 assignee Claimed by @iscai-msft View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.