8000 Pagination and query TypeScript improvements · Issue #2564 · feathersjs/feathers · GitHub
[go: up one dir, main page]

Skip to content

Pagination and query TypeScript improvements #2564

@daffl

Description

@daffl

The current TypeScript related improvements in v5 are pretty solid but the following improvements should still be included:

  • Typed queries: This would allow to type params.query which will play well with the new schema types.
  • Inferred pagination: The return value for a find is currently Paginated<T>|T[] which means you always have to cast the result. We should find a way to either set a fixed find return value or infer it from the paginate settings.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0