Skip to content

Missing {min, max} overload for Schema.isLength #989

@lishaduck

Description

@lishaduck

What version of Effect is running?

0c696c3

What steps can reproduce the bug?

n/a

What is the expected behavior?

Schema.isLength would accept an object with minimum and maximum lengths.

What do you see instead?

Schema.isLength only accepts a single number.

Additional information

IMO this is main reason to use Schema now that Zod has codecs (kidding. mostly. am I kidding? I'm not so sure anymore)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions