Moritz
02/16/2018, 6:13 PMAdam King
02/16/2018, 6:59 PMconst db = new Prisma({...})
and then call db.query.user({ where: id="id" })
, the user object returned by Prisma does not include any of user’s relations.Fitch
02/16/2018, 7:23 PMFuturekam
02/16/2018, 7:34 PMprisma local nuke
Fitch
02/16/2018, 7:35 PMRamsay Lanier
02/16/2018, 7:36 PMRamsay Lanier
02/16/2018, 7:37 PMRamsay Lanier
02/16/2018, 7:37 PMRamsay Lanier
02/16/2018, 7:37 PMFitch
02/16/2018, 7:37 PMRamsay Lanier
02/16/2018, 7:38 PMRamsay Lanier
02/16/2018, 7:38 PMFitch
02/16/2018, 7:38 PMFitch
02/16/2018, 7:40 PMMoritz
02/16/2018, 7:45 PMyarn
, I get the warnings warning "prisma-binding > apollo-link@1.0.7" has incorrect peer dependency "graphql@^0.11.3 || ^0.12.3".
warning "graphql-yoga > apollo-server-express > apollo-server-core > apollo-cache-control@0.0.7" has incorrect peer dependency "graphql@^0.10.0 || ^0.11.0".
Should I just ignore this or might this be a hint for local graphql version conflict/issues?Fitch
02/16/2018, 7:46 PMMoritz
02/16/2018, 7:47 PMRamsay Lanier
02/16/2018, 8:24 PMRamsay Lanier
02/16/2018, 8:25 PMRamsay Lanier
02/16/2018, 8:25 PMRamsay Lanier
02/16/2018, 8:37 PMRamsay Lanier
02/16/2018, 8:37 PMRamsay Lanier
02/16/2018, 8:39 PMFitch
02/16/2018, 8:40 PMFitch
02/16/2018, 8:40 PMcli-engine:plugins:manager requiring /usr/lib/node_modules/prisma/node_modules/prisma-cli-core +0ms
portfinder:defaultHosts exports._defaultHosts is: [ '0.0.0.0', '127.0.0.1', '::1', '10.0.0.178', 'fe80::d:f6ff:fe1d:620c', '172.17.0.1', 'fe80::42:78ff:fe05:debb', '172.18.0.1', 'fe80::42:35ff:feb7:357f', 'fe80::849b:b6ff:fe07:7ec', 'fe80::bca3:c8ff:fea5:f0d1', 'fe80::2093:2bff:fef2:abf4', 'fe80::7027:a3ff:fecb:80dd' ] +0ms
cli-engine:plugins:manager required +860ms
plugin required command +866ms
Environment [ 'graphcool-eu1', 'graphcool-us1', 'shared-public-demo' ] +0ms
Environment { 'graphcool-eu1': '<https://graphcool-eu1.graphcool.cloud>',
Environment 'graphcool-us1': '<https://graphcool-us1.graphcool.cloud>',
Environment 'shared-public-demo': '<https://database-beta.graph.cool>' } +6ms
StatusChecker setting status checker +1s
Fitch
02/16/2018, 8:41 PMRamsay Lanier
02/16/2018, 8:42 PMyarn add graphql
on the client to install 0.13.1 everything breaksAdam King
02/16/2018, 8:51 PM"resolutions": {
"graphql": "^0.13.0"
}
to my package.json.aeblin
02/16/2018, 9:55 PMaeblin
02/16/2018, 9:56 PM