fix: replace DateTime with Date and add gql resolver date name

This commit is contained in:
José Oliveira 2021-09-01 14:59:23 +01:00 committed by Josh Harvey
parent bad3d291ca
commit 0ae8c691c2
5 changed files with 13 additions and 21 deletions

View file

@ -1,6 +1,8 @@
const { GraphQLDateTime } = require('graphql-iso-date')
const { GraphQLJSON, GraphQLJSONObject } = require('graphql-type-json')
GraphQLDateTime.name = 'Date'
const resolvers = {
JSON: GraphQLJSON,
JSONObject: GraphQLJSONObject,