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

[Feature Request] Schema File #88

Open
Disturbing opened this issue Nov 12, 2017 · 1 comment
Open

[Feature Request] Schema File #88

Disturbing opened this issue Nov 12, 2017 · 1 comment

Comments

@Disturbing
Copy link

Hey There!

Kudos for creating the project, great implementation of GraphQL on .NET.

Is there a way to print out the Schema to see what all is available? Something similar to this:


type Query {
  human(id: ID!): Human
}

type Human {
  name: String
  appearsIn: [Episode]
  starships: [Starship]
}

enum Episode {
  NEWHOPE
  EMPIRE
  JEDI
}

type Starship {
  name: String
}
@MarianPalkus
Copy link
Collaborator

Hey,
afaik, this library does not provide a way to print out the schema directly.

However, it is possible to execute an introspection query to get the schema and let another tool print out the schema. (e.g. there is an IntellJ Plugin which provides something like this https://github.com/jimkyndemeyer/js-graphql-intellij-plugin - but I'm sure there more tools to do this.)

Notice that introspection is not fully support yet (see #83).

I hope this answers your question :)

Can we close this issue?

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