-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Array type relations and components are always generated as mandatory #45
Comments
have you tried the option |
Missed this configuration option. It's a pretty tricky thing, as by the way it's generated by default, optional/mandatory is following response structure (where The |
just for information, the only use of this flag in the base code: |
|
It's not clear to me but it doesn't really matter. I no longer actively use Strapi, so if you have a fix, which does not change the current behavior, maybe with new options, feel free to create a pull request. |
Array type relations and components are always generated as mandatory, irrespective if they're marked as required or not.
The text was updated successfully, but these errors were encountered: