dvallin
Repos
24
Followers
7

Events

closed issue
Support all js primitives

We nearly have all js primitives. Number, bigint (added in #1), string, undefined and null. there is only symbol missing. So add that and move undefined and null to simple/ folder.

Created at 1 week ago

add null and undefined

update to version 0.3.0

removed undefinedSchema since it is not very useful and better expressed by optional. Also the undefined type is not compatible to json schema

Merge pull request #19 from spaceteams/add-null-and-undefined

add null and undefined

Created at 1 week ago
pull request closed
add null and undefined
Created at 1 week ago

update to version 0.3.0

removed undefinedSchema since it is not very useful and better expressed by optional. Also the undefined type is not compatible to json schema

Created at 1 week ago

add null and undefined

Created at 1 week ago

add null and undefined

Created at 1 week ago

add null and undefined

Created at 1 week ago

add null and undefined

Created at 1 week ago
pull request opened
add null and undefined
Created at 1 week ago

add null and undefined

Created at 1 week ago
create branch
dvallin create branch add-null-and-undefined
Created at 1 week ago
issue comment
Support all js primitives

symbol can be expressed as a literal and should not be its own schema.

Created at 1 week ago

link to license on shield

and simplify discrimated union example

Merge pull request #18 from spaceteams/shields

link to license on shield

Created at 1 week ago
pull request closed
link to license on shield

and simplify discrimated union example

Created at 1 week ago
pull request opened
link to license on shield

and simplify discrimated union example

Created at 1 week ago

link to license on shield

and simplify discrimated union example

Created at 1 week ago

add some shields

Merge pull request #17 from spaceteams/shields

add some shields

Created at 1 week ago
pull request closed
add some shields
Created at 1 week ago
pull request opened
add some shields
Created at 1 week ago
create branch
dvallin create branch shields
Created at 1 week ago

add merge operator

Merge pull request #16 from spaceteams/merge

add merge operator

Created at 1 week ago
closed issue
Omit does not work on logical types

Currently omit only works on object types. Doing something like

const A = object({ name: nonEmptyString(string()) });
const B = object({ id: nonEmptyString(string()) });

const AandB = and(A, B);
const Aagain = omit(AandB, "id");

fails because AandB does not have the needed structure.

Created at 1 week ago
pull request closed
add merge operator
Created at 1 week ago

add merge operator

Created at 1 week ago
pull request opened
add merge operator
Created at 1 week ago
closed issue
Discrimated unions

Zod supports Discriminated unions and we could too.

Created at 1 week ago

add discriminated unions

Merge pull request #15 from spaceteams/discriminated-unions

add discriminated unions

Created at 1 week ago
pull request closed
add discriminated unions
Created at 1 week ago
create branch
dvallin create branch merge
Created at 1 week ago
pull request opened
add discriminated unions
Created at 1 week ago