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

chore: make referentialIntegrity preview feature GA #3428

Merged
merged 19 commits into from Nov 23, 2022

Conversation

Jolg42
Copy link
Member

@Jolg42 Jolg42 commented Nov 22, 2022

Related prisma/prisma#16224

Changes

  • deprecated the preview feature
  • removed error if preview feature is missing but the datasource property is set
  • removed unneeded tests
  • updated test-api
  • remove all mentions of the preview feature flag

Changed code
- deprecated the preview feature
- removed error if preview feature is missing but the datasource property is set
- removed unneeded tests
- updated test-api

Next commit: remove all mentions of the preview feature flag
@Jolg42 Jolg42 added this to the 4.7.0 milestone Nov 22, 2022
Jolg42 added a commit to prisma/prisma that referenced this pull request Nov 22, 2022
@Jolg42 Jolg42 requested a review from tomhoule November 23, 2022 10:03
@Jolg42 Jolg42 marked this pull request as ready for review November 23, 2022 10:31
@Jolg42 Jolg42 requested a review from a team as a code owner November 23, 2022 10:31
@jkomyno
Copy link
Contributor

jkomyno commented Nov 23, 2022

Let's wait for #3429 to be merged before merging this, as to avoid psl test breakage (#3429 contains some new tests with previewFeature = ["referentialIntegrity"])

Note: We decided we could merge this first

Copy link
Contributor

@tomhoule tomhoule left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One tiny change about a line we forgot to delete, and then we're good to merge.

libs/test-setup/src/tags.rs Outdated Show resolved Hide resolved
libs/test-setup/src/tags.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@tomhoule tomhoule left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@Jolg42 Jolg42 merged commit 2b64d91 into main Nov 23, 2022
@Jolg42 Jolg42 deleted the joel/referentialIntegrity-GA branch November 23, 2022 14:19
@@ -68,7 +68,7 @@ async fn a_table_without_uniques_should_ignore(api: &TestApi) -> TestResult {
Ok(())
}

#[test_connector(tags(Mysql))]
#[test_connector(tags(Mysql), exclude(Vitess))]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this need to exclude Vitess now?

@@ -1,6 +1,6 @@
use introspection_engine_tests::test_api::*;

#[test_connector(tags(Mysql))]
#[test_connector(tags(Mysql), exclude(Vitess))]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this need to exclude Vitess now?

@@ -3,7 +3,7 @@ use indoc::indoc;
use introspection_engine_tests::test_api::*;
use test_macros::test_connector;

#[test_connector(tags(Mysql))]
#[test_connector(tags(Mysql), exclude(Vitess))]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this need to exclude Vitess now?

@@ -708,7 +708,7 @@ async fn expression_indexes_should_be_ignored_on_sqlite(api: &TestApi) -> TestRe
Ok(())
}

#[test_connector(tags(Mysql))]
#[test_connector(tags(Mysql), exclude(Vitess))]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this need to exclude Vitess now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants