Skip to content

cityofsurrey/graphql-input-types

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

graphql-input-types

This project provides additional graphQL input types to the basic graphQL input types to enforce data format validation.

Usage

import { schema as inputsSchema, resolvers as inputsResolvers } from 'graphql-input-types'

...

const schema = [...rootSchema, ...inputsSchema]
const resolvers = merge(rootResolvers, inputsResolvers)

...

makeExecutableSchema({
  typeDefs: schema,
  resolvers,
})

About

Basic input types for graphql

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •