We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The image below shows the query generated by pal g. The generated query for an Organisation model has findFirstOrganisations return type is an array.
pal g
Organisation
findFirstOrganisation
It's not consistent with the return type of the findFirstOrganisation resolver.
Should the return type be Organisation instead of [Organisation!] ?
[Organisation!]
See the return type for findFirst here: https://www.prisma.io/docs/concepts/components/prisma-client/crud#return-type-1
findFirst
Currently using @paljs/cli and @paljs/plugins v2.11.0, prisma/client and @prisma/cli v2.14.0
v2.11.0
v2.14.0
The text was updated successfully, but these errors were encountered:
Potential fix in #167
Sorry, something went wrong.
Fixed by @pakatagoh
thanks! @AhmedElywa
Do you know when you'll publish a new release with the changes?
Today, sorry for late.
V2.11.1 have your fix
No branches or pull requests
The image below shows the query generated by
pal g
. The generated query for anOrganisation
model hasfindFirstOrganisation
s return type is an array.It's not consistent with the return type of the
findFirstOrganisation
resolver.Should the return type be
Organisation
instead of[Organisation!]
?See the return type for
findFirst
here: https://www.prisma.io/docs/concepts/components/prisma-client/crud#return-type-1Currently using @paljs/cli and @paljs/plugins
v2.11.0
, prisma/client and @prisma/cliv2.14.0
The text was updated successfully, but these errors were encountered: