Skip to content

Cast stringable or Enum variables #379

Description

@g105b

My colleague @pixeldrift64 is pair programming from me, and something he noted was that when binding an Enum into a database parameter, you have to remember to pass its name property.

GT Database should be able to detect an Enum (or anything that's Stringable) and cast it accordingly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNon-breaking improvements to existing behaviour

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions