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
Defining an integer in the schema and querying for it returns a float.
For example:
model User { id String @id @default(cuid()) age Int }
Sending a query
query { findManyUser { id age } }
returns
{ "data": { "findManyUser": [ { "id": "id", "age": 5.0 } ] } }
It should return an integer instead, e.g. "age": 5.
"age": 5
The text was updated successfully, but these errors were encountered:
ctx.photon.posts.create()
Related photonjs issue: prisma/prisma-client-js#279
Sorry, something went wrong.
Fixed.
Can you confirm @luca pls?
I can confirm that this now works as intended. Now just waiting for a CLI release.
dpetrick
No branches or pull requests
Defining an integer in the schema and querying for it returns a float.
For example:
Sending a query
returns
It should return an integer instead, e.g.
"age": 5
.The text was updated successfully, but these errors were encountered: