-
Notifications
You must be signed in to change notification settings - Fork 51
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(i): Handle field in view query but not view SDL #2192
fix(i): Handle field in view query but not view SDL #2192
Conversation
|
||
func TestView_OneToManyWithRelationInQueryButNotInSDL(t *testing.T) { | ||
test := testUtils.TestCase{ | ||
Description: "One to many view", |
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.
todo: please the description more descriptive :)
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.
Lol - sorry 😁
- Sort out description(s?)
UserView { | ||
name | ||
} | ||
}`, |
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.
nitpick: indentation here (and in above query) is a bit off
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.
cheers, will fix
- Fix indentation
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.
Look good. Have just minor comments
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #2192 +/- ##
===========================================
- Coverage 74.27% 74.26% -0.00%
===========================================
Files 256 256
Lines 25465 25477 +12
===========================================
+ Hits 18912 18920 +8
- Misses 5267 5271 +4
Partials 1286 1286
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 6 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
## Relevant issue(s) Resolves sourcenetwork#2183 sourcenetwork#2189 ## Description Handle field in view query but not view SDL. As such fields cannot be queried by the user anyway, we can safely ignore them (instead of panicing).
## Relevant issue(s) Resolves sourcenetwork#2183 sourcenetwork#2189 ## Description Handle field in view query but not view SDL. As such fields cannot be queried by the user anyway, we can safely ignore them (instead of panicing).
Relevant issue(s)
Resolves #2183 #2189
Description
Handle field in view query but not view SDL.
As such fields cannot be queried by the user anyway, we can safely ignore them (instead of panicing).