You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I dont think its part of the graphql spec, so this would be mostly a helper but would be great to have a defaultValue option on fields instead of having to write a resolver to handle.
unless this makes it into Graphql itself it probably doesn't make sense for core, but as a plugin this could be cool! I probably wouldn't have time to prioritize building it myself of a while, but definitely open to a PR (and would be more than happy to help out on figuring out how to implement it).
I dont think its part of the graphql spec, so this would be mostly a helper but would be great to have a
defaultValue
option on fields instead of having to write a resolver to handle.For example:
can become:
It could be a plugin where we have
The text was updated successfully, but these errors were encountered: