Skip to content

How to use the CLI client to generate a schema? #83

Closed
@djc

Description

@djc

I've built a Juniper-based GraphQL server this week and now I'd like to execute tests against it. This project seems like the best way to do so from Rust, and so I'm trying to generate a schema for my server. The built-in GraphiQL instance can read the introspection data just fine, but when I run graphql-client introspect-schema http://localhost:3000/graphql I just get {"data":{"schema":null},"errors":null}.

(Just to be sure, I get the same result if I run introspect-schema against the GitHub GraphQL endpoint.)

What, if anything, am I getting wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions