Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DeriveActiveEnum requires use sea_orm::ColumnTypeTrait in 0.11 #1478

@lpotthast

Description

@lpotthast

After migrating sea-orm from 0.10 to 0.11, enums deriving DeriveActiveEnum suddenly need the ColumnTypeTrait to be put in scope by the user, which was not required previously. The macro implementation should reference the required def function by its absolute path so that the additional use requirement is not needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions