Is your feature request related to a problem? Please describe.
I cannot add a decorator (ex: Authorized) to the _count meta field. So a _count field will always appear null when auth takes place
Describe the solution you'd like
If there were some kind of _count key in modelsEnhanceMap or ModelCount appeared in RelationResolverActionsConfig<"Model">
Describe alternatives you've considered
It can be handled on a case by case basis for individual models, but it's tedious and error prone. Maybe I could proxy Authorized in a way I haven't thought of?
Additional context
This problem appears on models in relations.
Is your feature request related to a problem? Please describe. I cannot add a decorator (ex:
Authorized
) to the_count
meta field. So a_count
field will always appearnull
when auth takes placeDescribe the solution you'd like If there were some kind of
_count
key inmodelsEnhanceMap
orModelCount
appeared inRelationResolverActionsConfig<"Model">
Describe alternatives you've considered It can be handled on a case by case basis for individual models, but it's tedious and error prone. Maybe I could proxy
Authorized
in a way I haven't thought of?Additional context This problem appears on models in relations.