From ffaa3fb92aa4eaea2132b0ca2f0cda766c8e961e Mon Sep 17 00:00:00 2001 From: Johann Pinson Date: Tue, 3 Jul 2018 16:31:23 +0200 Subject: [PATCH] fix(graphql): add `time` attribute type to DateTime scalar --- packages/strapi-plugin-graphql/services/GraphQL.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/strapi-plugin-graphql/services/GraphQL.js b/packages/strapi-plugin-graphql/services/GraphQL.js index e240236ec9..2ad4ba572c 100644 --- a/packages/strapi-plugin-graphql/services/GraphQL.js +++ b/packages/strapi-plugin-graphql/services/GraphQL.js @@ -171,6 +171,7 @@ module.exports = { case 'float': type = 'Float'; break; + case 'time': case 'date': case 'datetime': case 'timestamp':