Harshit
10/11/2018, 3:18 PMHarshit
10/11/2018, 3:18 PMTypeError: pchstr must be a non-empty string
[server:dev ] at Object.deserialize (/home/harshitpant/code/esoplan/node_modules/@phc/format/index.js:134:11)
[server:dev ] at Object.verify (/home/harshitpant/code/esoplan/node_modules/argon2/argon2.js:91:11)
[server:dev ] at login (/home/harshitpant/code/esoplan/packages/server/src/resolvers/Mutation.ts:84:32)
[server:dev ] at <anonymous>
[server:dev ] at process._tickDomainCallback (internal/process/next_tick.js:229:7)
Harshit
10/11/2018, 3:19 PMHarshit
10/11/2018, 3:19 PMHarshit
10/11/2018, 3:19 PMinfo
in the resolver but then I cant query several fieldsHarshit
10/11/2018, 3:21 PMWill
10/11/2018, 3:40 PMViable
10/11/2018, 4:24 PMJSells
10/11/2018, 9:15 PMMartin Hunt
10/12/2018, 1:54 AMboyney123
10/12/2018, 7:44 AMprisma
and getting relational data from it. I'm new to it just playing around at the moment and wondered if I'm doing something obviously wrong.
I have a Team that can have multiple Users in it, I have defined my schema and my resolvers, but when I Query to get allTeams (Which should return all users and teams) I only get the team data or the user data, but never both? I will start a thread with some examples of codeboyney123
10/12/2018, 7:45 AMboyney123
10/12/2018, 7:45 AMboyney123
10/12/2018, 7:46 AMgetTeams
resolver to look like this....boyney123
10/12/2018, 7:46 AMboyney123
10/12/2018, 7:47 AMaroman
10/12/2018, 3:09 PMVinnie
10/12/2018, 3:41 PMemattias
10/12/2018, 3:55 PMnull
without having to implement a mock for all fields. Is there a way to override the default mock to randomly return null
(for nullable fields). I am using addMockFunctionsToSchema
and SchemaLink
jackgray
10/12/2018, 4:24 PMdoums
10/12/2018, 4:40 PM{
"error": {
"message": "Cannot use GraphQLSchema \"[object Object]\" from another module or realm.\n\nEnsure that there is only one instance of \"graphql\" in the node_modules\ndirectory. If different versions of \"graphql\" are the dependencies of other\nrelied on modules, use \"resolutions\" to ensure only one version is installed.\n\n<https://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate> \"graphql\" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results."
}
}
It's like I have multiple instances of graphql
package but I have installed only one as describe in my package.json
"dependencies": {
"bcryptjs": "^2.4.3",
"graphql": "^0.13.2",
"graphql-yoga": "^1.16.2",
"jsonwebtoken": "^8.3.0",
"prisma-client-lib": "^1.18.0"
},
"devDependencies": {
"@babel/core": "^7.1.2",
"@babel/node": "^7.0.0",
"@babel/preset-env": "^7.1.0",
"eslint": "^5.6.1",
"standard": "^12.0.1"
}
jackgray
10/12/2018, 8:16 PMTristan Farmer
10/12/2018, 10:41 PMprimsa deploy
and choose demo server I get the error: FetchError: request to <https://api.cloud.prisma.sh/> failed, reason: getaddrinfo ENOTFOUND api.cloud.prisma.sh api.cloud.prisma.sh:443
Any advice?karolis
10/13/2018, 1:07 AM[Error - 11:16:51 am] Server initialization failed.
Message: Request initialize failed with message: database/prisma.yml could not be found.
Code: -32603
? I have all the files I need, and when I reference i.e. ENDPOINT in prisma.yml it cant find it in .env endpoint: ${env:PRISMA_ENDPOINT}
zach-albia
10/13/2018, 5:30 AMsrc/generated/resolvers.ts
https://github.com/prisma/prisma-examples/blob/master/typescript-graphql-auth/src/generated/resolvers.ts, in the generated
directory. My assumption is that prisma can generate resolver typings as well and I've been scratching my head over how to get this file auto-generated using the prisma cli. Is this a correct assumption to make?boyney123
10/13/2018, 9:19 AMFran Dios
10/13/2018, 11:18 AMroadmap/2018-Q3
officially postponed to Q4 or something? Any information you can provide about it? Thanks! 🙇♂️ https://github.com/prisma/prisma/labels/roadmap%2F2018-Q3Joellao
10/13/2018, 2:57 PMjohhansantana
10/13/2018, 5:19 PMjakelowen
10/13/2018, 5:43 PM