-
Notifications
You must be signed in to change notification settings - Fork 44
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
feat: Force explicit primary decl. in SDL for one-ones #2462
feat: Force explicit primary decl. in SDL for one-ones #2462
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #2462 +/- ##
===========================================
+ Coverage 75.07% 75.12% +0.04%
===========================================
Files 278 278
Lines 26945 26940 -5
===========================================
+ Hits 20228 20236 +8
+ Misses 5369 5361 -8
+ Partials 1348 1343 -5
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 8 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but it would be really great to have at least one test that tests new expectation.
I woke up this morning realising I had not done that - will add at least one before merge :) |
Will be used from the graphql package too shortly
2bf7967
to
2fb78db
Compare
## Relevant issue(s) Resolves #2461 ## Description Forces the explicit declaration of the primary side of one-one relation fields in SDL. PatchSchema already forces this and needed no change.
Relevant issue(s)
Resolves #2461
Description
Forces the explicit declaration of the primary side of one-one relation fields in SDL.
PatchSchema already forces this and needed no change.
Note: The error usage in the db package may be removed very soon in #2451 along with the entire
request/graphql/schema/relations.go
file.