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
Hi, all your objects/*.schema files contain redundant code. The top definition is always copied to be used in the exported Yup.object({....
objects/*.schema
Yup.object({...
Just export like this:
export const UserUpdateInputObject = ... ... export const UserUpdateInputObjectSchema = Yup.object(UserUpdateInputObject)
The text was updated successfully, but these errors were encountered:
It would also be really awesome if you could generate indexes so that we can just import like this:
import { UserUpdateInputObjectSchema } from `*/gen/schemas`
Sorry, something went wrong.
I will create a separate issue for that ;)
This would be really cool if it works and doesn't show any errors. Hopefully it works!
Fixed in 0.1.3
0.1.3
omar-dulaimi
No branches or pull requests
Problem
Hi, all your
objects/*.schema
files contain redundant code. The top definition is always copied to be used in the exportedYup.object({...
.Suggested solution
Just export like this:
The text was updated successfully, but these errors were encountered: