Skip to content
New issue

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

[feature] Schema of Prisma's Return Value Required #72

Open
cqh963852 opened this issue Jan 22, 2023 · 2 comments
Open

[feature] Schema of Prisma's Return Value Required #72

cqh963852 opened this issue Jan 22, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@cqh963852
Copy link

Problem

I am using fastify + fastify-zod.

The fastify-zod required a return schema.

Suggested solution

Would you consider adding the payload schema?

Alternatives

Or I can contribute some code, now the code structure is very clear.

How about generating something called createManyXXXActionResult.schema.ts/findManyXXXActionResult.schema.ts ?

@omar-dulaimi omar-dulaimi added the enhancement New feature or request label Jan 30, 2023
@omar-dulaimi
Copy link
Owner

Sure, it's something that this library should add sooner or later. Feel free to get started on it. I'm busier than usual lately, so I can't promise anything at this time.

Also, thank you for using this project

@IShungite
Copy link

up up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants