Effect CommunityEC
Effect Community3y ago
9 replies
bste

Adding JSON Schema Annotations to Custom Schema Constructors

Hey all 👋🏻
I'd like to add JSON schema annotations to some of the custom schema that I've ended up creating, but some of the constructors don't take a FilterAnnotations object, e.g. S.union
Some of the other annotation fields can be added by piping the schema object to S.message, for example.
Was this page helpful?