We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The async-graphql enum is just a wrapper of the SeaORM enum. So, it's confusing at a glance to see SeaORM attributes appear on the it.
seaography/examples/mysql/src/graphql/enums/rating.rs
Lines 4 to 18 in 44283e1
The above can be simplify to
use crate::orm::sea_orm_active_enums; use async_graphql::*; use sea_orm::entity::prelude::*; #[derive(Debug, Copy, Clone, Eq, PartialEq, Enum)] #[graphql(remote = "sea_orm_active_enums::Rating")] pub enum Rating { G, Pg, Pg13, R, Nc17, }
The text was updated successfully, but these errors were encountered:
Good point. It will be replaced ASAP
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
The async-graphql enum is just a wrapper of the SeaORM enum. So, it's confusing at a glance to see SeaORM attributes appear on the it.
seaography/examples/mysql/src/graphql/enums/rating.rs
Lines 4 to 18 in 44283e1
The above can be simplify to
The text was updated successfully, but these errors were encountered: