Better Types for CRUD actions #3885
JarrodMFlesch
started this conversation in
Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Types could be improved a bit if we generated types specifically for CREAT, READ, UPDATE, DELETE. Currently, things are marked optional when they are not always optional.
Say I have the following collection config:
The current type generated looks like:
But in reality, it should be something like:
If anyone wants to add to this feel free! I will attempt keep this section up to date with relevant changes/requests from the community.
Beta Was this translation helpful? Give feedback.
All reactions