Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GraphQLArgumentAttribute doens't exist? #105

Open
wilsonmfg opened this issue Oct 8, 2020 · 2 comments
Open

GraphQLArgumentAttribute doens't exist? #105

wilsonmfg opened this issue Oct 8, 2020 · 2 comments

Comments

@wilsonmfg
Copy link

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?

@wilsonmfg
Copy link
Author

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.

@wilsonmfg
Copy link
Author

Trying this again this morning, I'm really confused here.
gqlissue

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant