24 Commits

Author SHA1 Message Date
Alexandre Bodin
80989ee8ec Make hook loading async 2019-08-19 09:37:37 +02:00
Alexandre Bodin
c37ba583ba Load extensions 2019-06-12 14:35:03 +02:00
Alexandre Bodin
2fa8afbb1a Fix graphql and some styling 2019-04-16 08:50:47 +02:00
Alexandre Bodin
0c5b255e75 Fix graphql loaders and add some e2e graphql tests 2019-03-25 16:37:46 +01:00
Jim LAURIE
6347a4a869
Add new line 2019-01-23 11:14:00 +01:00
Sajjad Shirazy
786ccbf7f7
bugfix: in production Playground doesn't load the schema 2019-01-08 13:10:18 +03:30
DMehaffy
f5c730dc70 Add GraphQL tracing option default to false 2018-12-14 14:26:40 +01:00
Nick Verwymeren
0034ebae41
Update index.js
changed the glob as per @maturanomx comment
2018-11-01 10:12:46 -05:00
Nick Verwymeren
dc7f06194f
Allow the use of .graphql or .graphql.js
Previously schema files could only end in .graphql files. This caused a problem with IDE's since these files are actually javascript files. This pull request should also detect ```.graphql.js``` files while keeping backward compatibility with the ```.graphql``` extension.
2018-10-18 10:01:29 -05:00
Jason Lei
3378403954 GraphQL Mutations, Aggregations, Decimals
Merging Mutations and Aggregations. Fixed Mongoose Hook to use Decimals (2 decimal places) and Floats (20 decimal places).
2018-09-10 16:05:00 +08:00
Johann Pinson
295aef53b0 feat(graphql): add option to enable playground anywhere 2018-06-18 11:22:52 +02:00
Aurelsicoko
a7a1143523 Update doc and pass depthLimit in config 2018-05-25 17:40:03 +02:00
Aurelsicoko
217aae2d1b Fixes #1058 - Amount limiting and depth limiting 2018-05-25 16:08:51 +02:00
Johann Pinson
aeefa6156e feat(graphql): move to GraphQL Playground 2018-05-15 16:03:22 +02:00
soupette
a66ca698ee Fix hook bug and remove useless admin containers 2018-04-13 14:37:46 +02:00
Aurelsicoko
26be155f09 Await promises before returning values 2018-04-10 12:56:13 +02:00
Aurelsicoko
3daf7523c8 Apply policy for each query and use generated API business logic 2018-04-10 11:47:01 +02:00
Aurelsicoko
d51831a6f2 Write GraphQL documentation and fix details 2018-04-03 18:14:56 +02:00
Aurelsicoko
6c2399715a Link bookshelf on setup & advanced load order on hook 2018-04-02 18:33:12 +02:00
Aurelsicoko
b6fec35d39 Handle limit, skip, start and where parameters into the GraphQL query 2018-04-02 16:31:27 +02:00
Aurelsicoko
74ad7ffa0c Handle relationship in GraphQL query 2018-03-31 18:55:08 +02:00
Aurelsicoko
dd61fc8262 Add description and execute policies before the resolver 2018-03-30 17:05:24 +02:00
Aurelsicoko
6fe3e1bb85 Handle empty schema case & use pluralize to generate shadow query 2018-03-29 14:03:09 +02:00
Aurelsicoko
c0b18fa29c Load as a hook and load it at the end 2018-03-28 20:13:09 +02:00