Add support for an arg
to be based on a Type at the data layer while constructing Queries & Mutations
#516
Answered
by
Weakky
robin-macpherson
asked this question in
General
-
Perceived Problem
Example:
We should be able to then write a
Ideas / Proposed Solution(s)
|
Beta Was this translation helpful? Give feedback.
Answered by
Weakky
Jul 20, 2020
Replies: 1 comment
-
Hey @robin-macpherson, sorry for the late response. You can use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Weakky
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @robin-macpherson, sorry for the late response. You can use
schema.arg({ type: 'PostStatus' })
to do exactly what you're looking for 🙌