SAHB.GraphQLClient
SAHB.GraphQLClient copied to clipboard
GraphQLArgumentAttribute doens't exist?
Following the examples, adding GraphQLArgumentAttribute to a class as shown results in an error, and searching the repo only shows it mentioned in the examples. what am I missing?
another part of the docs/examples shows using GraphQLArguments before the class instead. Doing this results in:
SAHB.GraphQLClient.Exceptions.GraphQLArgumentVariableNotFoundException: 'The arguments with the following variables could not be found: id'
On the server I'm using Apollo if that matters, and all this works fine using ApolloClient and React.
Trying this again this morning, I'm really confused here.
all the other posts here show using the first style, but I get that error. the 2nd style compiles, but produces the variable not found runtime error.
I've added your appveyor source, but it doesn't show anything newer than 2.3.0. I've tried every version between 1.4.0 and 2.3.0 and it's all the same.