Clear and concise description of the problem
Currently query result type include all relations for the item's model.
Suggested solution
Return stricter type from queries with include that would not allow accessing relations that are not guaranteed because not in the include parameter.
Alternative
No response
Additional context
No response
Validations
Clear and concise description of the problem
Currently query result type include all relations for the item's model.
Suggested solution
Return stricter type from queries with
includethat would not allow accessing relations that are not guaranteed because not in theincludeparameter.Alternative
No response
Additional context
No response
Validations