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

merge does not understand "extend" word #9

Open
eugeneK1968 opened this issue Sep 13, 2018 · 0 comments
Open

merge does not understand "extend" word #9

eugeneK1968 opened this issue Sep 13, 2018 · 0 comments

Comments

@eugeneK1968
Copy link

Hello.
I have few schema files loading by server:
------- 1.graphql ---------------
type Query {
}
------ 2.graphql ---------------
type User {
id: ID!
}
extend type Query {
getUser(userId: ID!) : User
}
------ 3.graphql ---------------
type Category {
id: ID!
}
extend type Query {
getCategory(userId: ID!, categoryId: ID!) : Category
}

The problem is that "gql" tool "merge" option does not understand word "extend" that is a legal
word for graphql schema syntax.

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