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
The docs here does not inform the reader about the possible fields of the @relationship directive.
In v4 this was solved way better, see here
Either way: it took me hours to figure out why the value CONNECT_OR_CREATE of the nestedOperations field was not working within my schema.
It would be VERY HELPFUL if you pointed out in the docs, that CONNECT_OR_CREATE only affects the generated schema if the referenced type has at least one field with a @unique directive. After trial-and-erroring that out, it is quite clear why this directive is required. But it is not by simply reading the docs ;-)
The text was updated successfully, but these errors were encountered:
The docs here does not inform the reader about the possible fields of the
@relationship
directive.In v4 this was solved way better, see here
Either way: it took me hours to figure out why the value
CONNECT_OR_CREATE
of thenestedOperations
field was not working within my schema.It would be VERY HELPFUL if you pointed out in the docs, that
CONNECT_OR_CREATE
only affects the generated schema if the referenced type has at least one field with a@unique
directive. After trial-and-erroring that out, it is quite clear why this directive is required. But it is not by simply reading the docs ;-)The text was updated successfully, but these errors were encountered: