Skip to content
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

feat: disable dp by default #19743

Merged
merged 5 commits into from
Mar 13, 2024
Merged

feat: disable dp by default #19743

merged 5 commits into from
Mar 13, 2024

Conversation

Marc-Roig
Copy link
Contributor

@Marc-Roig Marc-Roig commented Mar 12, 2024

What does it do?

Disables draft and publish by default if not specified in the schema.

The change is 1 line of code, the rest is tests. https://github.com/strapi/strapi/pull/19743/files#diff-9100c2e1a6e098d7feed3db4d38959161fcd1968be005d84960009cc26b4660a

This also fixed a bug that was not proparly validating documents on update .

@Marc-Roig Marc-Roig marked this pull request as ready for review March 13, 2024 11:19
@Marc-Roig Marc-Roig merged commit fc1ac2a into v5/main Mar 13, 2024
99 of 102 checks passed
@Marc-Roig Marc-Roig deleted the v5/dp-disabled-by-default branch March 13, 2024 13:08
@echoes-hq echoes-hq bot added the echoes/type: feature Effort to deliver new features, significant feature changes and new functionality label Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
echoes/type: feature Effort to deliver new features, significant feature changes and new functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants