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
Currently the Paginate decorator does (_data: unknown, ctx: ExecutionContext) => PaginateQuery, but is encapsulated as a parameter decorator factory. However, when I'm unit testing, I haven't figured out how to leverage NestJS to resolve these parameters for me, in lieu of that, it would be nice if I could call something like getPaginateQueryFromContext directly :)
Currently the
Paginate
decorator does(_data: unknown, ctx: ExecutionContext) => PaginateQuery
, but is encapsulated as a parameter decorator factory. However, when I'm unit testing, I haven't figured out how to leverage NestJS to resolve these parameters for me, in lieu of that, it would be nice if I could call something likegetPaginateQueryFromContext
directly :)We just have to:
I will PR this when I have time for it in a few weeks (together with finishing up the JSON:API stuff!)
The text was updated successfully, but these errors were encountered: