Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Check for constraints before serialization #1119

Merged
merged 5 commits into from
Nov 9, 2017

Conversation

sarangan12
Copy link
Member

@sarangan12 sarangan12 commented Nov 8, 2017

This PR is to validate the constraints of the models before serialization. This is related to #1012 & Azure/autorest#2100

I am following a similar logic to node. https://github.com/Azure/azure-sdk-for-node/blob/master/runtime/ms-rest/lib/serialization.js#L72

@salameer @devigned @veronicagg Please review and approve

@sarangan12
Copy link
Member Author

Adding @amarzavery also for review as the code logic is taken from Node SDK.

Copy link
Contributor

@veronicagg veronicagg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants