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

Existing RestSchema for sealed hierarchy improvement #1058

Merged
merged 3 commits into from
Jan 31, 2023

Conversation

sebaciv
Copy link
Contributor

@sebaciv sebaciv commented Jan 27, 2023

The goal is to better handle case when existing RestSchema already contains right discriminator field when resolving RestSchema for sealed hierarchy case and allow it to retain custom name (see example in test code).

…ator field when resolving RestSchema for sealed hierarchy case
@sebaciv sebaciv requested a review from ghik January 27, 2023 18:08
@sebaciv sebaciv requested a review from ghik January 30, 2023 09:14
Copy link
Member

@ghik ghik left a comment

Choose a reason for hiding this comment

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

All good, pls add some comments as these are trickier parts of the framework.

@sebaciv sebaciv merged commit 11abdcc into master Jan 31, 2023
@sebaciv sebaciv deleted the hierarchy-custom-rest-schema branch January 31, 2023 10:33
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.

None yet

2 participants