import { makeExecutableSchema } from 'graphql-tools'
      import { typeDefs } from './typeDefs'
      import { resolvers } from './resolwers'
      
      export const schema = makeExecutableSchema({
        typeDefs,
        resolvers,
      })

      Javascript language logo
      your recipe card header background
      graphQlSchemas

      CodingBook

      The preceding code exports an executable schema. The makeExecutableSchema() function takes an object containing three properties: typeDefs, resolvers, and executables. The typeDefs property contains a list of Rules objects. The resolvers property contains a list of Regexp objects. The executables property contains a list of executable Rules objects.

      Shortcut: graphQl.Schemas

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.