How to use ID with UUID? #100
Answered
by
d-exclaimation
d-exclaimation
asked this question in
Q&A
-
How to use Pioneer's ID with Foundation's UUID? |
Beta Was this translation helpful? Give feedback.
Answered by
d-exclaimation
Nov 13, 2022
Replies: 1 comment
-
ID is a wrapper around String which is used to differentiate GraphQL ID and String scalar. ID can be constructed from any String, and is not restricted of what String is built upon. Pioneer also provide helper methods to UUID to automatically convert it into ID let id: ID = UUID().toID() |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
d-exclaimation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ID is a wrapper around String which is used to differentiate GraphQL ID and String scalar.
ID can be constructed from any String, and is not restricted of what String is built upon.
Pioneer also provide helper methods to UUID to automatically convert it into ID