Skip to content

Feature Request: Support for Employee Filtering and Sorting #1

@flamewalker103-commits

Description

@flamewalker103-commits

Feature Request

It would be beneficial to enhance the API by adding support for filtering and sorting employee data. Currently, the API allows retrieving all employees, but it does not provide options for filtering by roles or sorting by attributes such as name or id.

Proposed Implementation

  1. Filtering: Allow queries like GET /employees?role=Developer to only return employees of a specific role.
  2. Sorting: Provide a way to sort employees by various parameters, e.g., GET /employees?sort=name to sort by name in ascending order.

This enhancement can improve the API's usability significantly, especially for clients managing large datasets of employees.

Benefits

  • Increases efficiency by allowing clients to retrieve only relevant data.
  • Enhances user experience by letting users sort data based on their needs.

Please let me know if this feature would align with the project's roadmap!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions