Effect CommunityEC
Effect Community2mo ago
1 reply
Andrei

Combining branded schemas while preserving brands

How can I combine these two schemas into a NonEmptyHexStringSchema while preserving both brands? Every attempt I've tried has lost at least one of the brands.

The reason I want to preserve the brands is because I want a NonEmptyHexString to be able to be used anywhere a NonEmptyString or a HexString can be used.
image.png
Was this page helpful?