Optional opt-out for Collection type generation #6248
MarkAtOmniux
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.
-
Hi team, the
generate:types
command generates types for every collection in my project, including types not intended to be used by the frontend. In order to reduce bloat, I plan to introduce a new field on collections and globals calledexcludeType
. This field gets used in theconfigToJSONSchema
utility to optionally exclude types from being generated. I was thinking of opening a PR but wanted to see if 1 - this is something that people would want and, 2 - if I should wait for v3 before PR'ing the change?Beta Was this translation helpful? Give feedback.
All reactions