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

fix(schema): adds support of selecting schema without discriminator fields in discriminatedSchema #184

Merged
merged 3 commits into from
Jul 18, 2024

Conversation

asadali214
Copy link
Collaborator

@asadali214 asadali214 commented Jul 15, 2024

This PR adds the following changes:

  • adds the support for selecting an internal schema even if discriminator field is absent
  • adds the optional and nullable support in object schema

@asadali214 asadali214 requested a review from MaryamAdnan3 July 15, 2024 07:05
@asadali214 asadali214 self-assigned this Jul 15, 2024
@asadali214 asadali214 changed the title fix(schema): adds optional and nullable handling in discriminatedSchema fix(schema): adds support of selecting schema without discriminator fields in discriminatedSchema Jul 15, 2024
Copy link
Collaborator

@MaryamAdnan3 MaryamAdnan3 left a comment

Choose a reason for hiding this comment

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

Please see the comments

Copy link

sonarcloud bot commented Jul 18, 2024

@asadali214 asadali214 requested a review from MaryamAdnan3 July 18, 2024 06:18
Copy link
Collaborator

@MaryamAdnan3 MaryamAdnan3 left a comment

Choose a reason for hiding this comment

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

LGTM

@asadali214 asadali214 merged commit 74b5483 into master Jul 18, 2024
10 checks passed
@asadali214 asadali214 deleted the fix-schema-discriminated-object branch July 18, 2024 07:51
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