Ehsan Sarshar
11/07/2019, 11:15 AMAlbert
11/07/2019, 11:19 AMAlbert
11/07/2019, 12:38 PMQuentin
11/07/2019, 7:03 PMSpencer Olsen
11/07/2019, 10:12 PMbuildFederatedSchema()
function?romain.charretteur
11/08/2019, 11:12 AM--force
flag.
Ignoring warnings because you provided --force."
I do not know what I miss. I try with --force and as expected I loose data. Indeed it updated id column on all my table.
"foo (Type)
~ Updated field `id`"
MetadataDefinitionToFooMetadata (Relation)
- The id column id
in link table _MetadataDefinitionToFooMetadata
has been removed.
It was a Prisma legacy column that is not in use anymore."
Did anyone face this issue and success to solve it ?
Thank you in advance and for reading my paving stone 🙂romain.charretteur
11/08/2019, 5:04 PMMatthias Goossens
11/09/2019, 8:07 PMconst owner = await ctx.db.mutation.createGroupMember(
{
data: {
user: { connect: { id: userId } },
role: { set: 'OWNER' },
},
},
`{ id }`,
);
prisma2user
11/09/2019, 8:20 PMnpm install -g prisma2
since it looks like there is a call out to an s3 bucket to download a binary which in our environment we dont have access to directly proxy out to get this. Our npm packages are proxied through an artifact repository / proxy like Artifactory or Nexus. Was wondering if there is a way to change the CDN download url so that it could be downloaded through the artifact repository where we configure it to connect out to the s3 bucket. Or wondering if maybe there would be a better / preferred way to handle this type of use casekoia
11/09/2019, 8:53 PMkoia
11/09/2019, 9:07 PMconst user = await prisma.deleteWallpaper({
id: wallpaperId
}).user()
console.log(user)
That code does work, but the one bellow doesn't
const wallpaper = await prisma.deleteWallpaper({
id: wallpaperId
})
console.log(wallpaper.user)
The result is undefined
koia
11/09/2019, 9:12 PMSvitlana Shepitsena
11/09/2019, 9:59 PMkoia
11/09/2019, 10:48 PMkoia
11/09/2019, 10:48 PMconst wallpaper = await prisma.deleteWallpaper({
id: wallpaperId
}, info)
???koia
11/09/2019, 10:53 PMSvitlana Shepitsena
11/09/2019, 11:00 PMkoia
11/09/2019, 11:14 PMkoia
11/09/2019, 11:14 PMkoia
11/09/2019, 11:24 PMmutation {
deleteWallpaper(where: {
id: "ck2s13oj0059b0898fi0ronz0"
}){
id
wallpaperId
source
user {
id
name
email
}
}
}
It brings the User without any issues🤖Svitlana Shepitsena
11/09/2019, 11:31 PMkoia
11/09/2019, 11:41 PMSvitlana Shepitsena
11/09/2019, 11:41 PMElias Ramirez
11/10/2019, 2:32 AMGraphicColumn
, there i save the data of some columns of an Architectural model, but the amount of columns can vary in every kind of model, and that columns have multiple data entries to save, so i'm trying to do the next thing:
type GraphicColumn {
id: ID! @id
data: [{
column: Int!
columnData: [Float]
}]
}
As you see, in the object, it will be the number of the column specified and the data values of that column, so it's an object for the column 1
and an amount of Int
values for the data of it, and so on for the column 2
, column 3
...
May vary between 4 and 6 colums per model, but i'm getting errors with the data
definition whem running
prisma deploy
. The error message is the following:
ERROR: Syntax error while parsing GraphQL query. Invalid input "{\n id: ID! @id\n name: String!g\n}", expected IgnoredNoComment, ImplementsInterfaces, DirectivesConst or FieldDefinitions (line 1, column 11):
type User {
^
{
"data": {
"deploy": null
},
"errors": [
{
"locations": [
{
"line": 2,
"column": 9
}
],
"path": [
"deploy"
],
"code": 3017,
"message": "Syntax error while parsing GraphQL query. Invalid input \"{\\n id: ID! @id\\n name: String!g\\n}\", expected IgnoredNoComment, ImplementsInterfaces, DirectivesConst or FieldDefinitions (line 1, column 11):\ntype User {\n ^",
"requestId": "local:ck2sd5dbg000i0773z3pkpwx9"
}
],
"status": 200
}
Do you know how can i replace that
to some definition that works?🤔
Thanks and good night!😁kyler
11/10/2019, 4:19 PMGreg
11/10/2019, 6:45 PMGreg
11/10/2019, 7:13 PMJunsu Kim
11/11/2019, 7:25 AMDodo
11/11/2019, 12:53 PMgt44m
11/11/2019, 4:32 PM