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

[DEV-1977] Add environment variable to disable custom validators during Strapi's data transfer #1209

Conversation

marcobottaro
Copy link
Collaborator

List of Changes

Add environment variable in .env.default
Add an exit guard to custom validators

Motivation and Context

The transfer command fails if validators are enabled (it's a Strapi bug strapi/strapi#19383)

How Has This Been Tested?

Manually

Screenshots (if appropriate):

Types of changes

  • Chore (nothing changes by a user perspective)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

Copy link

changeset-bot bot commented Oct 18, 2024

🦋 Changeset detected

Latest commit: a8e9534

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
strapi-cms Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

apps/strapi-cms/.env.default Outdated Show resolved Hide resolved
@marcobottaro marcobottaro requested a review from tommaso1 October 18, 2024 11:47
Copy link
Contributor

github-actions bot commented Oct 24, 2024

Jira Pull Request Link

This Pull Request refers to the following Jira issue DEV-1977

@marcobottaro marcobottaro merged commit 2f93d2d into main Oct 24, 2024
11 checks passed
@marcobottaro marcobottaro deleted the DEV-1977-disable-custom-validators-with-an-environment-variable branch October 24, 2024 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants