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

Need to import GraphiQl namespace since GraphiQL 1.2.0 #28

Open
Cito opened this issue Dec 10, 2018 · 1 comment
Open

Need to import GraphiQl namespace since GraphiQL 1.2.0 #28

Cito opened this issue Dec 10, 2018 · 1 comment

Comments

@Cito
Copy link

Cito commented Dec 10, 2018

Adding the app.UseGraphiQl() middleware does not seem to work in GraphiQL 1.2.0 unless you add using GraphiQl to Startup.cs. In version 1.1.0 it this does not seem to be necessary. This should be explicitly mentioned in the README and also added to the graphiql.example, if it's not considered a regression.

@josephwoodward
Copy link
Owner

josephwoodward commented Feb 28, 2020

@Cito Thanks for bringing this to my attention.

Do you not get a compilation error if the namespace isn't imported?

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

2 participants