mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-30 12:01:57 +00:00
punting on enums for now
This commit is contained in:
@@ -246,5 +246,10 @@ fn build_model_struct(
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn build_model_enum(base: &DeriveInput, ast: &DataEnum, model_name: Option<Ident>) -> TokenStream {
|
fn build_model_enum(base: &DeriveInput, ast: &DataEnum, model_name: Option<Ident>) -> TokenStream {
|
||||||
todo!()
|
todo!(
|
||||||
|
"use {:?}, {:?} and {:?} to create a model that can become an enum of models",
|
||||||
|
base,
|
||||||
|
ast,
|
||||||
|
model_name
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user