Skip to content

Enable find users with boolean query filters #390

@JenySadadia

Description

@JenySadadia

Once the fastapi-users integration is completed and #377 is merged, enable
support for boolean query filters for /users endpoint.
e.g. http://localhost:8001/latest/users?is_superuser=true and http://localhost:8001/latest/users?is_verified=false should work fine.

  • Add translation from string to boolean for database query in api.db.Database
  • Tested OK on staging

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions