Created
November 6, 2019 07:19
-
-
Save imjakechapman/5cfa6d9bcfe2287b031032f662fd0fde to your computer and use it in GitHub Desktop.
./schema/resolvers
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 { IResolvers } from "graphql-tools"; | |
import merge from "lodash.merge"; | |
import { LastFMResolvers } from "./lastfm"; | |
import { SharedResolvers } from "./shared"; | |
const RootQueryResolver: IResolvers = { | |
Query: { | |
lastfm: () => ({}) | |
} | |
}; | |
const resolvers: IResolvers = merge( | |
RootQueryResolver, | |
SharedResolvers, | |
LastFMResolvers | |
); | |
export { resolvers }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment