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

Add Tests And Fix Build Issue For "Rework active enum" PR #1900

Merged
merged 2 commits into from
Oct 12, 2023

Conversation

anshap1719
Copy link
Contributor

PR Info

This PR adds tests and fixes a build issue on top of #1898 that occurs when using the sea-orm crate in a project with the new code.

Comment on lines -8 to -12
#[cfg(any(
feature = "sqlx-mysql",
feature = "sqlx-sqlite",
feature = "sqlx-postgres"
))]
Copy link
Member

Choose a reason for hiding this comment

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

I think we should be able to keep these test cases for all backend?

Ok(())
}

pub async fn insert_json_struct_vec_derive(db: &DatabaseConnection) -> Result<(), DbErr> {
Copy link
Member

Choose a reason for hiding this comment

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

did I miss it somewhere, but I don't see this function being used?

@tyt2y3 tyt2y3 merged commit 201d6fe into SeaQL:rework-active-enum Oct 12, 2023
32 checks passed
@tyt2y3
Copy link
Member

tyt2y3 commented Oct 12, 2023

I'll try this

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.

2 participants