Effect CommunityEC
Effect Community2y ago
5 replies
mvolkmann

schema string or null

When using the @effect/schema package, how can you specify that a field of a struct can be a string or null? I see that [Schema.string, Schema.null] is not the correct answer.
Was this page helpful?