Daarto icon indicating copy to clipboard operation
Daarto copied to clipboard

Maybe we should be able to get a list with all users in it

Open renatoeufe opened this issue 4 years ago • 2 comments

:( public override IQueryable<TUser> Users => throw new NotSupportedException();

renatoeufe avatar May 22 '20 03:05 renatoeufe

I wanted to implement this myself and similarly for the Roles property in the Roles store. However, both run into the same problem. To return an IQueryable in Dapper we would have to bodge it by returning an IEnumerable AS IQueryable. I think a cleaner solution is not implement it at all.

Sajeewa-Diss avatar Jun 19 '20 12:06 Sajeewa-Diss

I needed to expose an endpoint in my REST API in order to return a list of all users, had no choice 🤷🏻‍♂️

renatoeufe avatar Jul 04 '20 03:07 renatoeufe