menu

Prisma

🔴 The Prisma Spectrum community is not officially managed by Prisma's support team any more. Please seek help on GitHub or on Slack instead. Learn more: https://spectrum.chat/prisma/general/where-and-how-to-best-seek-help-with-questions-problems~687a1b8f-8658-4df3-8849-ea5ab3503f28

Channels
Chat
view-forward
# All channels
view-forward
# General
view-forward
# Beta
view-forward
# Community
view-forward
# GraphQL
view-forward
# OSS
view-forward
# Random
view-forward
Team

users: [ID] @scalarList(strategy: RELATION) i have this on my datamodel.prisma…

March 1, 2020 at 2:11pm

users: [ID] @scalarList(strategy: RELATION) i have this on my datamodel.prisma file users: [ID] this on mu schema.graphql file so what i am trying to do is just give a array of ids this is my args on mutation(event(description:"volley", date:"20/20/2020", users:["ck6ky0h3wpzzs0975vzueix4p", "ssdsadasdadadasda"]))and it shows me this error Variable '$data' expected value of type 'EventCreateInput!' but got: ..... Reason: 'users' Expected 'EventCreateusersInput', found not an object. (line 1, column 11):

March 1, 2020 at 2:11pm
No messages yet