-
Notifications
You must be signed in to change notification settings - Fork 12
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: we are sure about type if parent checked it #177
Conversation
Type delta calculation here is needed for discriminator to be sure that we can compile.
is there a breaking unit test we can add for this case? (a part of the test case Konnor added in the issue?) |
@mvayngrib done. #179 will improve it once this lands. Upd: I'll update the testcase. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files
|
731e2c6
to
75dd90b
Compare
75dd90b
to
c87a7cc
Compare
This needs a second review per the new process. |
@kklash one more time please 😅. We're trying out a more strict review process. I'm already not a fan |
@ChALkeR this good to go? |
Type delta calculation here is needed for discriminator to be sure that we can compile.
Fixes: #176.
This is just the first part of the fix that will work if
type: object
is specified on levels 1 and 2 or level 3.An additional fix is needed to allow specifying
type: object
only once on level 1.See also explanation in #176 (comment)