``` createCampaign(name: String!, year: String!, a...
# prisma-whats-new
t
Copy code
createCampaign(name: String!, year: String!, archived: Boolean, author: ...): Campaign
h
which version are you using?
prisma?
t
Yes
I’m not really sure what to put in
author
h
ok, is this the exposed schema, or db schema?
t
that’s the
schema.graphql
I have this
Copy code
type Mutation {
   createCampaign(name: String!, year: String!, archived: Boolean, author: ...): Campaign
}
h
if you have a logged in user you could autofill that in your server
t
on the GraphCool console?
I’m running the api locally
ok, just figured it out 🙂 thanks anyway
i
For future reference, just past in
authorId: "SOME_ID_STRING"
for a single node or
authorIds: [ "AUTHOR_1_ID", "AUTHOR_2_ID" ]
an array of nodes