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

Refactor schema gen to generically create discriminated subschemas #704

Merged
merged 4 commits into from
Aug 10, 2021

Conversation

jander-msft
Copy link
Member

This change allows adding more discriminated subschemas in the future without reimplementing the concept for each set of options. Also, generate schemas from type information and cache it in a resolver so that type schemas can be reused across multiple type generations.

@jander-msft jander-msft requested a review from kkeirstead August 10, 2021 18:16
@jander-msft jander-msft requested a review from a team as a code owner August 10, 2021 18:16
Copy link
Member

@kkeirstead kkeirstead left a comment

Choose a reason for hiding this comment

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

I think this is everything I noticed when going over the PR, so I can Approve this, but if you want to get another set of eyes on it before merging maybe @kelltrick can look over it as well.

@jander-msft jander-msft merged commit 76c1467 into dotnet:main Aug 10, 2021
@jander-msft jander-msft deleted the dev/jander/schema-gen-refactor branch August 10, 2021 21:44
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