I can use scopes on list end points, so for example the following get request to api/users?scope=activeUsers use activeUsers scope on User model. Where as when I try to make a request to read end point as following api/users/1?scope=activeUsers, scope is not applied to model.
Is this an intended behavior or am I missing something or doing something wrong here?
Thanks
I can use scopes on
list
end points, so for example the followingget
request toapi/users?scope=activeUsers
useactiveUsers
scope onUser
model. Where as when I try to make a request toread
end point as followingapi/users/1?scope=activeUsers
, scope is not applied to model.Is this an intended behavior or am I missing something or doing something wrong here? Thanks