-
In https://graphqlite.thecodingmachine.io/docs/3.0/type_mapping#date-mapping, it is mentioned that the date time interface is automatically mapped to a string with iso8601 output, i want to modify this to be in int with output as unix timestamp. |
Beta Was this translation helpful? Give feedback.
Answered by
oojacoboo
Sep 6, 2021
Replies: 1 comment 6 replies
-
You can always use the type mapper and define your own type mapping with your own serialization and parsing. Please see docs: |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
oojacoboo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can always use the type mapper and define your own type mapping with your own serialization and parsing. Please see docs:
https://graphqlite.thecodingmachine.io/docs/next/custom-types#registering-a-custom-scalar-type-advanced