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: respect definitions for all when inlining nullable references #417

Merged
merged 2 commits into from
Nov 23, 2023

Conversation

CarstenWickner
Copy link
Member

@CarstenWickner CarstenWickner commented Nov 23, 2023

When using Option.DEFINITIONS_FOR_ALL_SCHEMAS and the new Option.INLINE_NULLABLE_SCHEMAS, while all references to a given type are nullable, no non-nullable definition is being created.

Fixing that here, with the result that some expected unit test results changed in #412 are being reverted again to their previous behavior.

Copy link

@codescene-delta-analysis codescene-delta-analysis bot left a comment

Choose a reason for hiding this comment

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

Code Health Quality Gates: OK

  • Declining Code Health: 1 findings(s) 🚩
  • Improving Code Health: 0 findings(s) ✅
  • Affected Hotspots: 1 files(s) 🔥

Recommended Review Level: Lightweight sanity check
View detailed results in CodeScene

🚩 Declining Code Health (highest to lowest):

@CarstenWickner CarstenWickner merged commit 1aced59 into main Nov 23, 2023
10 checks passed
@CarstenWickner CarstenWickner deleted the fix-nullable-inline branch November 23, 2023 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant