Make it possible to reuse select options within the generated types #4895
cloetensbrecht
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.
-
We're using a select field with a huge list (4000+ items):
When we use this field once in our project, it's fine. But when we use this field a second time, the payload generated types are listed twice. When we use this field multiple times within different blocks, the options are listed the same number of times.
This makes the generated payload types file huge!!
Is there a way to define the types just once, just like the interfaceName property within a block type?
I would like to acheive something like this:
Beta Was this translation helpful? Give feedback.
All reactions