fix: replace DateTime with Date and add gql resolver date name
This commit is contained in:
parent
bad3d291ca
commit
0ae8c691c2
5 changed files with 13 additions and 21 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue