How to use extended scalars with dgs? #247
Answered
by
srinivasankavitha
jessepinkman9900
asked this question in
Q&A
-
I would like to use https://github.com/graphql-java/graphql-java-extended-scalars with dgs. |
Beta Was this translation helpful? Give feedback.
Answered by
srinivasankavitha
Apr 9, 2021
Replies: 1 comment 2 replies
-
You can add it a dependency and register the scalar manually as described here: In your schema file:
For registering:
That said, in the next release, you shouldn't need to manually register it. For now, you can use the above mechanism. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
jessepinkman9900
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can add it a dependency and register the scalar manually as described here:
https://netflix.github.io/dgs/scalars/
In your schema file:
For registering:
That said, in the next release, you shouldn't need to manually register it. For now, you can use the above mechanism.