efvaldez
12/15/2017, 3:33 AMuknamboodiri
12/15/2017, 3:50 AMuknamboodiri
12/15/2017, 3:50 AMuknamboodiri
12/15/2017, 3:51 AMuknamboodiri
12/15/2017, 3:53 AMMaslov
12/15/2017, 4:05 AMproducts_contains_every: [ 263629, 284848, 314496, 314816, 316265 ]
but it doesnt work, products: [1,2,3]
also doesn’t
Argument 'filter' expected type 'OrderFilter' but got: Field 'products_contains_every' is not defined in the input type 'OrderFilter'
...
m.b.iqbal
12/15/2017, 4:39 AMPatrick
12/15/2017, 5:37 AMczysty
12/15/2017, 6:16 AMuknamboodiri
12/15/2017, 7:10 AMuknamboodiri
12/15/2017, 7:11 AMpanzupa
12/15/2017, 7:18 AMpanzupa
12/15/2017, 7:56 AMCustomer.name
where name
is a string. But how to implement orderBy
on connection? Let's say Customer
has connection to the Address
type which has a city: String
field. Now I want to sort Customers by city name. How to do that in GraphQL / GraphCool?Emi
12/15/2017, 9:20 AMpreetb123
12/15/2017, 9:26 AMpreetb123
12/15/2017, 9:26 AMpreetb123
12/15/2017, 9:27 AMfabien0102
12/15/2017, 9:30 AMgraphcool-binding
on my graphcool endpoint (to avoid rewrite all my mutations for my data migration 🙂 ) but it's not working…
I have a classic graphcool project (graphcool/0.10.1) with types.graphql
in my graphcool.yml, a generated schema provide by graphql get-schema
and trying to use this with the following code:
const graphcool = new Graphcool({
schemaPath: "schema.graphql",
endpoint,
secret: token
});
console.log(await graphcool.query.biomarkers(null, "{id labKey}"));
And I have this as error:
TypeError: Cannot read property 'type' of undefined
at Object.getTypeForRootFieldName (D:\Projets\baze\nis-graphcool\node_modules\graphcool
-binding\dist\src\utils.js:29:54)
at Object.buildFragmentInfo (D:\Projets\baze\nis-graphcool\node_modules\graphcool-bindi
ng\dist\src\prepareInfo.js:41:24)
at Proxy.<anonymous> (D:\Projets\baze\nis-graphcool\node_modules\graphcool-binding\dist
\src\index.js:103:38)
at module.exports (D:\Projets\baze\nis-graphcool\migration\uploadToGraphcool.js:29:37)
at inquirer.prompt.then (D:\Projets\baze\nis-graphcool\migration\main.js:90:13)
at <anonymous>
Any ideas to fix this? 🙂notrab
12/15/2017, 10:04 AMCategory
with subCategories anyone here has seen interesting?joar
12/15/2017, 10:11 AMjoar
12/15/2017, 10:11 AMhuv1k
12/15/2017, 10:18 AMOleg Galaburda
12/15/2017, 10:48 AMJonas
12/15/2017, 11:17 AMpreetb123
12/15/2017, 11:27 AMpreetb123
12/15/2017, 11:28 AMpreetb123
12/15/2017, 11:31 AMdzbo
12/15/2017, 1:17 PMchakrihacker
12/15/2017, 2:34 PMagartha
12/15/2017, 3:30 PM@relation
directive completely in 1.0, because I wonder how the backtracking field will be populated when there's more than one relationship between two types. Anyone have a link?