Fork me on GitHub
#schema
<
2021-04-16
>
dpsutton16:04:05

is there a notion of s/or? I'd like the following: {:before {s/Any s/Any} :after {s/Any s/Any}} #_ or {:item {s/Any s/Any} :collection-id (s/Maybe s/Int)}

dpsutton16:04:13

each would be defed, the first an UpdateEvent, the latter an AddEvent, and then i'd like to create a schema Event that is UpdateEvent or AddEvent if that's possible. I see there's s/conditional but i don't want conditions on it, just let it match it if that is possible