-
Notifications
You must be signed in to change notification settings - Fork 434
Open
Labels
enhancementImprovement of existing features or bugfixImprovement of existing features or bugfix
Description
Currently, I'm generating a dynamic GraphQL enum from the database (hence, I need access to my Context
and TypeInfo
), to be used as an input argument in one of my queries.
But right now I'm manually calling resolve from within the resolve_field_async in order to see whether my argument actually is a valid value for that Enum.
That happens because args.get
only uses FromInputValue
, it doesn't actually call resolve
. And FromInputValue
doesn't have access to Context
and TypeInfo
.
In conclusion, it would be useful if there would be a way of resolving Arguments
, not only "get
ting" them.
Metadata
Metadata
Assignees
Labels
enhancementImprovement of existing features or bugfixImprovement of existing features or bugfix