Skip to content

Replace SeaORM's IdenStatic - #1396

Closed
billy1624 wants to merge 1 commit into
masterfrom
replace-idenstatic
Closed

billy1624 wants to merge 1 commit into
masterfrom
replace-idenstatic

Conversation

@billy1624

Copy link
Copy Markdown
Member

PR Info

Breaking Changes

  • Changed the return type of EntityName::table_name to be &'static str
impl EntityName for Entity {
-   fn table_name(&self) -> &str {
+   fn table_name(&self) -> &'static str {
        "fruit"
    }
}
  • sea_orm::IdenStatic was replaced by sea_query::IdenStatic
  • Identity was being moved into sea_query
  • IntoIdentity was being moved into sea_query

@tyt2y3

tyt2y3 commented Jan 15, 2023

Copy link
Copy Markdown
Member

We likely would postpone this

@billy1624 billy1624 closed this May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Replace SeaORM's ColumnType and IdenStatic with its SeaQuery's counterparts

2 participants