32 Commits

Author SHA1 Message Date
Aurelsicoko
c111aaba13 Fixes #1247 2018-05-24 17:20:32 +02:00
Jim Laurie
4fe7b6176e Fix conflicts & lint 2018-05-16 12:07:02 +02:00
Kamal Bennani
ba809f6149
correctly access the ref of the given model as param 2018-05-14 20:55:26 +02:00
soupette
613940c1d9 Add eslint to email and graphql backend 2018-05-02 12:28:27 +02:00
Aurelsicoko
243e5cf74d Snakecase attribute in GraphQL when there is a dash 2018-04-20 16:30:28 +02:00
Aurelsicoko
f01b7befd1 Display createdAt and updatedAt date with GraphQL 2018-04-17 18:16:31 +02:00
Aurelsicoko
96934a23da Improve retrieving of relationships with GraphQL 2018-04-17 17:29:24 +02:00
Aurelsicoko
aaac5ba391 Clean code 2018-04-13 14:27:50 +02:00
Aurelsicoko
17c46b331d Make GraphQL polymorphic relationships working with Bookshelf 2018-04-11 12:53:07 +02:00
Aurelsicoko
c59ad9d958 Support findOne request 2018-04-10 19:02:21 +02:00
Aurelsicoko
78234fab61 Support contains sensitive filter and fix Bookshelf queries 2018-04-10 18:54:01 +02:00
Aurelsicoko
cd43c2851b Build schema.graphql to query Users & Permissions models 2018-04-10 15:54:34 +02:00
Aurelsicoko
26be155f09 Await promises before returning values 2018-04-10 12:56:13 +02:00
Aurelsicoko
69714842a3 Update GraphQL documentation and fix context request 2018-04-10 12:22:51 +02:00
Aurelsicoko
3daf7523c8 Apply policy for each query and use generated API business logic 2018-04-10 11:47:01 +02:00
Aurelsicoko
0f581fa5c3 Be able to retrieve polymorphic association using GraphQL (File Upload) 2018-04-05 15:20:24 +02:00
Aurelsicoko
d51831a6f2 Write GraphQL documentation and fix details 2018-04-03 18:14:56 +02:00
Aurelsicoko
32eeb4063e Be able to add description and deprecated reason on query 2018-04-03 12:14:34 +02:00
Aurelsicoko
66b75801c7 Add contains query and be able to disabled specific query 2018-04-03 11:30:39 +02:00
Aurelsicoko
e917c61b02 Optimize GraphQL query with Bookshelf 2018-04-02 19:24:36 +02:00
Aurelsicoko
6c2399715a Link bookshelf on setup & advanced load order on hook 2018-04-02 18:33:12 +02:00
Aurelsicoko
78792ceff8 Display pretty schema using printSchema native function 2018-04-02 17:56:17 +02:00
Aurelsicoko
d69b272e13 Supported query arguments on nested association query 2018-04-02 17:36:11 +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
641289664b Auto-generate plugin schema when shadowCRUD is enabled 2018-03-30 17:33:04 +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
Aurelsicoko
5acbc5de38 Refactor code and write generated schema 2018-03-28 18:40:59 +02:00
Aurelsicoko
8d86c9ee58 Handle basic fetch and fetchAll query 2018-03-27 19:02:04 +02:00
Aurelsicoko
4541b6f30b Add GraphQL plugin and inject middleware 2018-03-27 17:15:28 +02:00