For custom types
#804
-
Hi, I just have a question regarding how to create a type for my data rather than basic scalar types (int, string, boolean, float and ID). For instance, I may need to represent double datatype to datetme datatype. Thank you in advance. |
Beta Was this translation helpful? Give feedback.
Answered by
rafalp
Mar 2, 2022
Replies: 2 comments 3 replies
-
I'm not sure what you mean? Are you looking to define custom types in GraphQL schema? Have you seen this document? |
Beta Was this translation helpful? Give feedback.
1 reply
-
I see, you want custom scalar then. Here is documentation how to make one with examples including datetime: |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
rafalp
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I see, you want custom scalar then. Here is documentation how to make one with examples including datetime:
https://ariadnegraphql.org/docs/scalars