Skip to content

Conversation

mcg-web
Copy link
Contributor

@mcg-web mcg-web commented Sep 28, 2016

Multiple schema endpoint

#app/config/config.yml

overblog_graphql:
    definitions:
        schema:
            foo:
                query: fooQuery
            bar:
                query: barQuery
                mutation: barMutation

foo schema endpoint can be access:

type Path
simple request /graphql/foo
batch request /graphql/foo/batch
graphiQL /graphiql/foo

bar schema endpoint can be access:

type Path
simple request /graphql/bar
batch request /graphql/bar/batch
graphiQL /graphiql/bar

@mcg-web mcg-web merged commit 5c920d5 into overblog:master Sep 29, 2016
@mcg-web mcg-web deleted the multiple_endpoints branch September 29, 2016 07:48
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

Successfully merging this pull request may close these issues.

1 participant