SAHB.GraphQLClient icon indicating copy to clipboard operation
SAHB.GraphQLClient copied to clipboard

Support for OperationName

Open la-we opened this issue 3 years ago • 0 comments

I'd like to implement support for operation names as of https://graphql.org/learn/queries/#operation-name

My idea would be to implement support for this as an additional attribute that can be attached to the POCO of the operation itself, i.e.

[GraphQLOperationName("OpName") class MyMutation { [GraphQLArgument("test")] public string ActualMutation {get; set;} }

la-we avatar May 10 '21 12:05 la-we