<@U9J4TSD7Z> have a look at the `generated` schema...
# prisma-whats-new
m
@manticarodrigo have a look at the
generated
schema. There you can find an input type you need for creating a poll. Just switch Poll with Poll input and you should be good to go. PS.: search for
input
when crawling through schema as the input types are denoted with
input
keyword.
m
Thanks for the quick reply @matic! Now I’m getting “Field PollCreateInput.post of required type PostCreateOneWithoutPollInput! was not provided.”
But the post it belongs to is being created in the same mutation…
m
hmm could you provide your datamodel and schema to get a little context? 🙂