Skip to content

Support constraints on actions and their parameters in @entry_constraint #99

@smolkaj

Description

@smolkaj

Since the action of a table is a sum type, this requires some language mechanism for destructing sum types, e.g. ADT-style pattern matching.

We didn't implement this feature thus far since this is a nontrivial effort.

This is related to but distinct from #98, which is about constraining a single action with a new @action_restriction annotation. #98 is simpler to implement since it doesn't require dealing with sum types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions