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

Support other type on the @default directive. #5434

Open
MacondoExpress opened this issue Aug 6, 2024 · 1 comment
Open

Support other type on the @default directive. #5434

MacondoExpress opened this issue Aug 6, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@MacondoExpress
Copy link
Contributor

MacondoExpress commented Aug 6, 2024

The @default directive does not support several types.
It will be good to add support for at least the types already supported by the @populatedBy.

For instance, the following typeDefs is not currently supported:

type typeNode {
    durationField: Duration @default(value: "P1D")
}
@MacondoExpress
Copy link
Contributor Author

Initial PR #5437 was introduced to fix this case on the v6 POC that was dismissed and needs to be backported to v6.

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

No branches or pull requests

1 participant