Created
June 12, 2018 14:13
-
-
Save xoor-io/c69dd03107f43ff1c86fb7715997cdc3 to your computer and use it in GitHub Desktop.
graphql-schema-index
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { types, typeResolvers } from './_type'; | |
import { queryTypes, queryResolvers } from './_query'; | |
import inputTypes from './_input'; | |
import { mutationTypes, mutationResolvers } from './_mutation'; | |
export default { | |
types: () => [types, queryTypes, inputTypes, mutationTypes], | |
resolvers: Object.assign(queryResolvers, mutationResolvers, typeResolvers), | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment