Skip to content

Add type: option as alias for constructor: #165

@timriley

Description

@timriley

When defining settings using type objects:

setting :ttl, default: 3600, constructor: Types::Integer

It would feel much more natural if we could pass them as a type: argument:

setting :ttl, default: 3600, type: Types::Integer

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions