Created
June 2, 2021 14:25
-
-
Save bengrunfeld/a5a77236290bc4a8e3e663d52deb29be to your computer and use it in GitHub Desktop.
GraphQL Scalable Resolvers File
This file contains hidden or 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 { User } from './User' | |
const resolvers = { | |
Query: { | |
...User.resolvers.queries, | |
}, | |
Mutation: { | |
...User.resolvers.mutations, | |
} | |
}; | |
export default resolvers; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment