Skip to content

Commit

Permalink
doc(effect): update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisre committed Jan 28, 2025
1 parent 36b5c47 commit dd6a600
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -663,10 +663,10 @@ import { Schema } from 'effect';

const schema = Schema.Struct({
username: Schema.String.pipe(
Schema.nonEmpty({ message: () => 'username required' }),
Schema.nonEmptyString({ message: () => 'username required' }),
),
password: Schema.String.pipe(
Schema.nonEmpty({ message: () => 'password required' }),
Schema.nonEmptyString({ message: () => 'password required' }),
),
});

Expand Down

0 comments on commit dd6a600

Please sign in to comment.