Open
Description
Reason why:
Summary
Required/non-nullable field is removed from create due to being part of relation
Steps to reproduce
Use relay plugin with a table that has a NOT NULL field which also has a relation on it
Expected results
It's part of the create mutation
Actual results
It's not
Additional context
Possible Solution
I think we can just remove the highlighted line? Or will it have unintended consequences
I can make the PR if so
for example i have Trips(id, userid, name, description) and userid was not part of the create. I tried using it and it resulted in a constraint error. When i removed the line i marked above, i got a graphql error as expected that this field was required.
Metadata
Metadata
Assignees
Type
Projects
Status
🦟 Mayfly