You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emojireacted with thumbs down emojireacted with laugh emojireacted with hooray emojireacted with confused emojireacted with heart emojireacted with rocket emojireacted with eyes emoji
-
Hello,
I've run into an issue with my schema not enforcing a relationship that I need to have.
I need to enforce the property
location
to be non-nullable/required, but thecreate
command is allowing me to omit it.Here's the schema:
Here's how I'm writing it:
If this is the expected behavior, can anyone suggest the best approach to make an embedded object required?
Beta Was this translation helpful? Give feedback.
All reactions