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
Is your feature request related to a problem? Please describe.
I've just implemented logging of used fields, used deprecated fields, and used deprecated arguments via GraphQL::Analysis::AST::FieldUsage.
I found myself wanting to also log used arguments (not just the deprecated ones) so we can better understand if we are providing functionality that just isn't needed/used at all.
Describe the solution you'd like
Adding @used_arguments to GraphQL::Analysis::AST::FieldUsage to provide similar functionality to the existing @used_fields, @used_deprecated_fields, @used_deprecated_arguments.
Describe alternatives you've considered
I am currently looking to provide this functionally by inheriting from GraphQL::Analysis::AST::FieldUsage and providing my own methods to enable this feature. Unfortunately, this ends up requiring me to use my own methods for all but one method which made me wonder if this might fit into this project itself.
Additional context
If this would be of interest to this project, I'd be happy to provide additional context as to what I'm doing to provide this functionality to my application as well as possibly submitting a Pull Request.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I've just implemented logging of used fields, used deprecated fields, and used deprecated arguments via
GraphQL::Analysis::AST::FieldUsage
.I found myself wanting to also log used arguments (not just the deprecated ones) so we can better understand if we are providing functionality that just isn't needed/used at all.
Describe the solution you'd like
Adding
@used_arguments
toGraphQL::Analysis::AST::FieldUsage
to provide similar functionality to the existing@used_fields
,@used_deprecated_fields
,@used_deprecated_arguments
.Describe alternatives you've considered
I am currently looking to provide this functionally by inheriting from
GraphQL::Analysis::AST::FieldUsage
and providing my own methods to enable this feature. Unfortunately, this ends up requiring me to use my own methods for all but one method which made me wonder if this might fit into this project itself.Additional context
If this would be of interest to this project, I'd be happy to provide additional context as to what I'm doing to provide this functionality to my application as well as possibly submitting a Pull Request.
The text was updated successfully, but these errors were encountered: