Skip to content
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

Document the one-to-one non-nullable relationship limitation #128

Open
lastmjs opened this issue Jul 15, 2021 · 0 comments
Open

Document the one-to-one non-nullable relationship limitation #128

lastmjs opened this issue Jul 15, 2021 · 0 comments

Comments

@lastmjs
Copy link
Contributor

lastmjs commented Jul 15, 2021

Right now you cannot have a one-to-one relationship where both of the fields are non-nullable, because one record must be created before the other, otherwise you will never satisfy the requirements of the GraphQL query.

This should be possible once we enable nested creates, because you could always create the other record while creating the other record. We should probably wait until we have indexing, benchmarks, automatic migrations, and authorization before we move onto nested creates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant