Graphcool Framework "empty.last" error
@csamu wrote: Hello. I’m getting these short and unhelpful error messages from Graphcool Cloud custom resolvers. 2019-09-05T11:42:55.182Z 1072ms FAILURE { "error": "Function invocation failed with:...
View ArticleHow to make a subscription resolver for sub type?
@MeisterTea wrote: Here is my code so far : function newDeckSubscribe(parent, { deckId }, { prisma }) { return prisma.$subscribe.deck({ where: { id: deckId }, mutation_in: ['CREATED', 'UPDATED']...
View ArticleUse returned value as variable in same query?
@jeremiahfallin wrote: I have a query, and I’m wondering if there’s a way to only return stats from matches that have the same player id as the id returned from players. const TEAM_QUERY = gql` query...
View ArticleAchat des documents administratifs français
@andephilippe52 wrote: Bonjour Nous postons afin de vous faire connaitre que nous proposons un service de délivrance de documents administratifs grâce a nos collaborateurs que nous avons dans ces...
View ArticleSimple mutual relationship in mutation , but can't figure out what I'm doing...
@thirdcreed wrote: Data Model: type User { id:ID! @id handle: String! @unique email: String! @unique organizations: [Org!]! @relation(name:"OrgsToUsers") } type Org { id:ID! @id members:[User!]!...
View ArticleMissing data after import from GC to Prisma for scalarList table
@henryson wrote: When I deployed my converted schema from GC to Prisma I got this error: Valid values for the strategy argument of@scalarListare: RELATION So I added @scalarList(strategy: RELATION)...
View ArticleExpected type xxxx to be an object at value.xxxx
@headebeast wrote: Hello guys, I have this error that says Expected type CategoryCreateOneWithoutItemsInput to be an object at value.category for some reason and I dont know why if you someone could...
View ArticleShould prisma.graphql go into source control?
@NickR49 wrote: Just looking back at a side project and I had put /src/generated into .gitignore. cheers Nick Posts: 1 Participants: 1 Read full topic
View ArticlePrisma deploy generates non-null list return when datamodel states it can be...
@clintKunz wrote: In my datamodel file I specify that a list can be empty, but when I run prisma deploy it requires that the list is not null. datamodel.prisma type User { subs: [Sub]! } prisma deploy...
View ArticleQuery with Relations
@richard wrote: Hi all, I am having an issue with relations and querying data. I have the following datamodel: type Asset { id: ID! @id createdAt: DateTime! @createdAt updatedAt: DateTime! @updatedAt...
View ArticleFilte returns wrong result in nested object
@jayalai wrote: Hi! I don’t know if I am doing something wrong or if it’s a bug. Hope someone can point me in the right direction. schema.js: type Query { tags( filter: TagFilterInput ): QueryTags }...
View ArticleUsing connect on a 1:* relationship question
@Bruce_Allen wrote: Looking to verify the behavior I am seeing. If you have an existing “Parent” w\ a known ID. Then create a child and specify the parentID as a connect arg //datamodel type Item {...
View ArticleHow to prevent Prisma from touching my existing database
@jaakko-solita wrote: I have an existing database table called Operator with two fields “id” and “operator_uic_code” I would like the corresponding GraphQL fields to be called “id” and “code” I’ve...
View ArticlePrisma Error: Valid values for the strategy argument of `@scalarList` are:...
@Dinnall wrote: Hi there, I when I try to update my datamodel.prisma I keep receiving this message. ANY HELP IS APPRECIATED Errors: User :heavy_multiplication_x: Valid values for the strategy argument...
View ArticleMigrate resolvers fro Graphcool framework to Prisma?
@henryson wrote: Does anyone know if there is a smooth way to extract/export resolvers from GC and convert them into local resolvers calling Prisma? Posts: 1 Participants: 1 Read full topic
View ArticleDeplooying Prisma Application Server using Zeit Now
@brunaaleixo wrote: I am trying to deploy my application server using now but receive the error that I must provide a build script. Is there any default build script I can use? Posts: 2 Participants:...
View ArticleLinking many-to-many relationships + DB indexing
@l0rdcafe wrote: Hello Prisma community, I am fairly new to Prisma and had a couple of questions regarding representing many-to-many relationships in the datamodel as well as database indexing. I have...
View ArticlecreatedAt/updatedAt field not generated after prisma deploy
@ratsonpreromasu wrote: This is my datamodel.prisma type Link { id: ID! @id updated_at: DateTime! @updatedAt description: String! title: String! } after prisma deploy only - id, description, title...
View ArticleMultiple account type datamodel
@Fractured2K wrote: I have a data model that’s not too complex, I have 90% of it done, but I’m just not sure how I would go about connecting my UserProfile to a Account type. I believe I maybe...
View ArticleCreate 2 Prisma services in 1 docker-compose file
@cheepo2109 wrote: Hey everyone! I wanted to ask how can I run 2 different prisma services for 2 apps on 1 server, using docker-compose.yml I tried to search for examples on github and this forum but...
View Article
More Pages to Explore .....