Effect CommunityEC
Effect Community8mo ago
13 replies
ryan

Schema decode a literal to string then encode string to literal

If I have a schema that has literals, and it decodes to a schema of a string type, to encode it back, is that what transformliteral is for? Or is this not a thing and I shouldn't use literals unless it encodes and decodes as a literal?
Was this page helpful?