You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 called excludeType. This field gets used in the configToJSONSchema 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?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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