If schema would be too large, strip titles to reduce size #323
Labels
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Is your feature request related to a problem? Please describe.
In order to avoid the recursive schema issue #319, we can materialize the hierarchy. However, this quickly runs into the maximum schema length test, even without enums, dates or even property names longer than 1 character. A way to reduce the size would be to strip
title
from every property if that would reduce the size to within acceptable limits.Describe the solution you'd like
If the schema would generate the "too many states for serving" error, then delete all
title
definitions from properties.Describe alternatives you've considered
Fixing #319 :)
The text was updated successfully, but these errors were encountered: