Skip to content

Extend zenstack numeric functions to decimal #657

Closed
@sitch

Description

@sitch

These https://zenstack.dev/docs/reference/zmodel-language#number should apply to Int, Float, and Decimal.

Example:

model Example {
  decimalNumber Decimal @gt(0) // doesn't work
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions