Skip to content

Enum parameters are always integer even if the column is a string #14

@molcikas

Description

@molcikas

If you add an enum value as a parameter to a query, photon uses the integer value of the enum even if the underlying column was mapped using the string value (i.e. by mapping the column as a VARCHAR in the aggregate definition).

It is possible to work around this bug by calling .name() on the enum when declaring the photon query parameter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions