Pierre Noël
4b7fbadef5
fix shadow crud breaking build when resolvers are not defined in a plugin ( #5899 )
...
* fix shadow crud breaking build when resolvers are not defined in a plugin
Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
* refacto
Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
Co-authored-by: Pierre Noël <pierre.noel@strapi.io>
2020-04-22 15:41:40 +02:00
Convly
1103d96500
Rename noRequired to nonRequired
...
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-03-30 16:45:00 +02:00
Convly
98b5b4a029
GraphQL Aggregation: Remove required marker when checking for number types (int/float)
...
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-03-30 16:45:00 +02:00
Jelmer Visser
7f3be5eb04
Return newObj instead of original object
...
Signed-off-by: Jelmer Visser <jelmer@weflycheap.nl>
2020-03-20 09:27:05 +01:00
Jelmer Visser
4bda9f3104
Leave custom resolvers alone when diff
...
Signed-off-by: Jelmer Visser <jelmer@weflycheap.nl>
2020-03-20 09:27:05 +01:00
Alexandre Bodin
76393d860b
Clean Resolver buildShadowCRUD
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:40 +01:00
Alexandre Bodin
49f0fdad8c
Refactor schema definition language utils
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:40 +01:00
Alexandre Bodin
f1cbc014da
Cleanup old graphql code
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:39 +01:00
Alexandre Bodin
3f5f839b4c
Build mutation and resolves in shadowCrud and then only build the missing ones
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:38 +01:00
Alexandre Bodin
c02625e438
Split graphql schema generator code
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:35 +01:00
Alexandre Bodin
2cbaecaa4d
use mergeSchemas fucntion to keep code cleaner
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:09 +01:00