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
Sequence default fails in migration #3494
Comments
|
Thanks for quick answer! |
Yes, sequence scalars have an implicit default, you don't need to specify it explicitly. The querybuilder needs to be adjusted to be aware of the fact. |
Fixes #3494. At least kind of. We could also probably support this. The main problem is just that sequence_next wants the type as an extra argument.
Fixes #3494. At least kind of. We could also probably support this. The main problem is just that sequence_next wants the type as an extra argument.
Fixes #3494. At least kind of. We could also probably support this. The main problem is just that sequence_next wants the type as an extra argument.
Discussed in #3493
Originally posted by tchak February 15, 2022
I have the following schema:
I expect
number
to be autofilled. But when I use this schema from TypeScript driver type signature refuses to let me create a Project without specifying anumber
property. I tried the following schema but it failed on migration:Is this is a bug or intended behaviour ?
The text was updated successfully, but these errors were encountered: