184 Commits

Author SHA1 Message Date
Jim LAURIE
c3c24ca7ad 3.0.0-alpha.19 2019-01-16 11:49:16 +01:00
Jim LAURIE
e41948de3f Add setting for production environment 2019-01-09 14:19:39 +01:00
Abdón Rodríguez Davila
3f73964f59
Merge branch 'master' into fix-gae-deploy 2019-01-04 13:17:43 +01:00
Jim LAURIE
09530e9cd9 3.0.0-alpha.18 2019-01-04 11:23:15 +01:00
Abdón Rodríguez Davila
809ecb6a69
Merge branch 'master' into fix-gae-deploy 2018-12-23 16:42:31 +01:00
Jim LAURIE
da501688cb
Merge branch 'master' into fix/2437 2018-12-21 17:00:33 +01:00
Abdón Rodríguez Davila
a5dc07c0a5 Avoid write files if not development environment 2018-12-19 19:25:52 +01:00
Jim LAURIE
fd3ae96498 3.0.0-alpha.17 2018-12-18 14:37:15 +01:00
DMehaffy
f5c730dc70 Add GraphQL tracing option default to false 2018-12-14 14:26:40 +01:00
DMehaffy
16c5bce6c6 Add config option for turning tracing on or off 2018-12-14 11:44:59 +01:00
soupette
f146909361 Add snyk in travis 2018-12-05 18:33:23 +01:00
soupette
636cb54c29 Add snyk 2018-12-05 15:42:58 +01:00
Jim LAURIE
a75e0c5485 3.0.0-alpha.16 2018-12-04 18:31:19 +01:00
Jim LAURIE
03c1e04d87 Revert filter PR 2018-12-04 17:05:03 +01:00
DMehaffy
2b38a92277 Add GraphQL limit settings 2018-11-29 03:46:30 -07:00
Jim LAURIE
c126b94325
Merge branch 'master' into fixNodeVersions 2018-11-29 11:21:55 +01:00
Jim LAURIE
fb03d4f18c 3.0.0-alpha.15 2018-11-28 14:55:41 +01:00
DMehaffy
ecb6baaea5 Update all the packages and generated json 2018-11-28 00:14:12 -07:00
Kamal Bennani Bouchiba
6482a6ec84
Merge branch 'master' into feature/allow-filtering-on-a-relation-attribute 2018-11-20 19:34:46 +01:00
Kamal Bennani
511ca55461
fix 1st level deep filter 2018-11-19 00:10:48 +01:00
Kamal Bennani
85eeb4aef2
Fix wrong rebase 2018-11-18 23:57:03 +01:00
Jim LAURIE
19ec6242f9
Merge branch 'master' into feature/allow-filtering-on-a-relation-attribute 2018-11-16 17:38:27 +01:00
Aurelsicoko
e28b69092d Use primaryKey to associate correct related entry in manyToOne association 2018-11-15 17:47:17 +01:00
Jim LAURIE
8fcf2ed8ae 3.0.0-alpha.14.5 2018-11-13 14:50:07 +01:00
Jim LAURIE
08ababab42 Fix lint 2018-11-10 11:37:02 +01:00
Jim LAURIE
5188d70d91
Merge branch 'master' into fix-graphql-many-to-many-relations 2018-11-09 12:07:52 +01:00
Jim LAURIE
163f7e6533 Fix lint 2018-11-07 16:19:31 +01:00
Nick Verwymeren
87d41103a4 merged in master 2018-11-06 13:12:26 -06:00
Nick Verwymeren
7991f06294 Merge branch 'master' into fix-graphql-many-to-many-relations 2018-11-06 13:03:07 -06:00
Jim LAURIE
b8d8f7a297
Merge branch 'master' into fix/2213 2018-11-05 17:28:56 +01:00
Jim LAURIE
b739155fdd
Merge branch 'master' into patch-1 2018-11-05 17:22:59 +01:00
cyril lopez
377da271e4 Fix lint from master 2018-11-05 11:31:36 +01:00
Jim LAURIE
e4b1d3c1d6
Merge branch 'master' into patch-2 2018-11-01 17:39:47 +01:00
Nick Verwymeren
0034ebae41
Update index.js
changed the glob as per @maturanomx comment
2018-11-01 10:12:46 -05:00
aissa-bouguern
cbf877074d
GraphQL many-to-many relations symmetry
Querying content types that share many-to-many relations do not return expected results.

Let's say we have a product content type and a category centent type. those two models share many-to-many relation, and when we are querying categories we have the expected result, Ex :

Query : 
{
  categories {
    Name
    products {
      Name
    }
  }
}

Result : 

{
  "data": {
    "categories": [
      {
        "Name": "Category 1",
        "products": [
          {
            "Name": "Product 1"
          }
        ]
      },
      {
        "Name": "Category 2",
        "products": [
          {
            "Name": "Product 1"
          }
        ]
      }
    ]
  }
}

But when  we're querying products, the categories array is empty!!

Query:

{
  products {
    Name
    categories {
      Name
    }
  }
}

Result:

{
  "data": {
    "products": [
      {
        "Name": "Product 1",
        "categories": [ ]
      }
    ]
  }
}

categories should not be empty, it should be something like  that : 
...
"categories": [
          {
            "Name": "Category 1"
          },
          {
            "Name": "Category 2"
          }
        ]
....

I hope that was clear.
2018-10-29 22:36:39 +00:00
Kamal Bennani
15a41614fa
Don't populate relations in Graphql context 2018-10-28 23:42:22 +01:00
Kamal Bennani
9862705f8f
fix rebase issue 2018-10-28 23:42:21 +01:00
Kamal Bennani
2d1cf3591e
Split convertParams to multiple stage steps 2018-10-28 23:42:20 +01:00
Kamal Bennani
a84b640994
Make converQuery works also with array values 2018-10-28 23:42:20 +01:00
Kamal Bennani
382f52a2e8
Convert GraphQL params to one level-deep object 2018-10-28 23:42:19 +01:00
Nick Verwymeren
513558c8e9
Update GraphQL.js 2018-10-25 13:48:28 -05:00
Jim LAURIE
01a2442e7d 3.0.0-alpha.14.4.0 2018-10-25 17:18:26 +02:00
Jim LAURIE
379331f822 3.0.0-alpha.14.4 2018-10-25 16:41:07 +02: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
Jim LAURIE
4ced536eaf Remove logs Graphql 2018-10-18 14:33:08 +02:00
Ben Weller
1249909c46 re-add support for JSON graphql types 2018-10-12 13:29:18 -05:00
Jim LAURIE
87c3af3d1e 3.0.0-alpha.14.3 2018-10-08 17:14:19 +02:00
Jim LAURIE
46c9b0f966 3.0.0-alpha.14.2 2018-09-26 11:08:10 +02:00
Jim LAURIE
86dea3279f
Merge branch 'master' into fixFilePermissions 2018-09-24 20:13:31 +02:00
Alberto Maturano
154fc28a57 Normalize to standar file permissions
As a result of taking a look on PR #1967 I realized there is 819
executable files in this repository. It is obvious this is an error.
2018-09-24 12:33:09 -05:00