You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
async-graphql support an array of common types guarded by feature flags. Ex. chrono, time, uuid, decimal ...etc.
In seaography, we should respect these feature flags as well. Because we need these type crates to implement our internal types. While we can't assumed all feature flag are enabled.
// TODO #[graphql(concrete(name = "EnumFilter", params()))]
pubstructTypeFilter<T: async_graphql::InputType>{
pubeq:Option<T>,
pubne:Option<T>,
pubgt:Option<T>,
pubgte:Option<T>,
publt:Option<T>,
publte:Option<T>,
pubis_in:Option<Vec<T>>,
pubis_not_in:Option<Vec<T>>,
pubis_null:Option<bool>,
}
So, we can "pass on" the feature flag we received in seaography to async-graphql. Just like what we did below in SeaORM. Where we "pass on" the with-* feature flag to sea-query and sqlx.
async-graphql
support an array of common types guarded by feature flags. Ex.chrono
,time
,uuid
,decimal
...etc.In
seaography
, we should respect these feature flags as well. Because we need these type crates to implement our internal types. While we can't assumed all feature flag are enabled.seaography/src/lib.rs
Lines 39 to 59 in f5a91c7
So, we can "pass on" the feature flag we received in
seaography
toasync-graphql
. Just like what we did below in SeaORM. Where we "pass on" thewith-*
feature flag tosea-query
andsqlx
.The text was updated successfully, but these errors were encountered: