Ability to set JSON Schema on Collection/Global Level #7190
ainsleyclark
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.
-
Typescript Schema on Collection/Global Level
I've noticed there's been a PR made that allows us to change the JSON schema on a field level. It would be fantastic if this key was also added to
Collection
andGlobal
types so we are able to override specific types.#6984
At the moment I have had to override
fieldsToJSONSchema
and it's quite hard keeping up with changes.Add Properties
It would also be extremely helpful to distinguish what Payload type a definition is.
For example, if a
Definition
is aBlock
type, it would make type generation so much easier if it was explicit in the schema.cc @r1tsuu
Beta Was this translation helpful? Give feedback.
All reactions