Joseph
03/19/2019, 4:15 AMERROR: No cluster could be found for workspace '*' and cluster 'default'
{
"data": {
"generateClusterToken": null
},
"errors": [
{
"message": "No cluster could be found for workspace '*' and cluster 'default'", "locations": [
{
"line": 3,
"column": 9
}
],
"path": [
"generateClusterToken"
],
"code": 222
}
],
"status": 200
}
I've googled it a bit and the replies all talk about random things I'm not even touching, like ApiSecret and setting the cluster property in prisma.ymlLars-Jørgen Kristiansen
03/19/2019, 8:08 AMprisma deploy
.. Seems like prisma forces me to use http:// or https:// in prisma.yml endpoint, but with docker I need to use the docker dns hostnameNicola Nardella
03/19/2019, 9:04 AMgraphql-tag
when editing gql
literal? I'm trying to use this plugin https://github.com/Quramy/ts-graphql-plugin but I don't understand how configure. ThanksUby
03/19/2019, 11:34 AMnexus
with a microservices approach?
Multiple prisma servers, stitching these, extending them. So far it feels limiting the code first approach when you have to work with an external SDL.sunrising
03/19/2019, 11:37 AMGraphQL error: Variable '$attachments' cannot be non input type '[Attachment!]'.
What does it mean? where I am going wrong?prilutskiy
03/19/2019, 11:50 AMRens Laros
03/19/2019, 1:05 PMRens Laros
03/19/2019, 1:05 PMrem
03/19/2019, 1:47 PMrem
03/19/2019, 2:26 PMrem
03/19/2019, 2:26 PMimpowski
03/19/2019, 2:29 PMAuthenticating...
Opening <https://app.prisma.io/cli-auth?secret=TOKEN> in the browser
Could not open the authentication link, maybe this is an environment without a browser. Please open this url in your browser to authenticate: <https://app.prisma.io/cli-auth?secret=TOKEN>
impowski
03/19/2019, 2:29 PMbtotharye
03/19/2019, 5:12 PMArtur
03/19/2019, 5:15 PMArtur
03/19/2019, 5:16 PMArtur
03/19/2019, 5:17 PMRory Kelly
03/19/2019, 5:26 PMRory Kelly
03/19/2019, 5:27 PMIan
03/19/2019, 5:39 PMCorey Lanier
03/19/2019, 9:01 PMIan
03/19/2019, 9:18 PMJack
03/19/2019, 9:28 PM@pgRelation
directive, as described in the docs (https://www.prisma.io/docs/datamodel-and-migrations/introspection-POSTGRES-soi1/#inline-relation-column), in order to deploy prisma for my existing database. I don't want to migrate this existing database, since I have a codebase that relies on the structure as-is.
My datamodel looks like this:
type AdminUser @pgTable(name: "admin_users") {
id: ID! @unique
}
type Customer @pgTable(name: "customers") {
id: ID! @unique
adminUser: AdminUser! @pgRelation(column: "admin_user_id")
}
But when I try and deploy I see this error:
Global
✖ Could not find the model table customers in the database
Anyone have any ideas why this might be? That customers table does exist.blocka
03/20/2019, 5:18 AMCorjen
03/20/2019, 8:30 AMawait prisma.companies({ where: { id_in: ['ID_3', 'ID_2', 'ID_1'] } })
where it would like to get the companies returned in the same order as the id_in
array. Is that possible somehow?Andre Coetzee
03/20/2019, 8:51 AMAndre Coetzee
03/20/2019, 8:52 AMUxname
03/20/2019, 11:53 AMCould not open the authentication link, maybe this is an environment without a browser. Please open this url in your browser to authenticate: ....
And how disable it? I have tried run prisma logout
before deploy, no effectsunrising
03/20/2019, 2:06 PMnuno
03/20/2019, 3:27 PM