Effect CommunityEC
Effect Community2y ago
8 replies
leonitous

Schema template literal issue after upgrading to @effect/schema@0.67.18

Another schema template literal issue after upgrading, can't reproduce this one on the playground (which is on @effect/schema@0.67.13) but I can on @effect/schema@0.67.18.

This minimal worked before:
import * as Schema from "@effect/schema/Schema";

const _ = Schema.TemplateLiteral(Schema.String, Schema.Literal(0));


But now I get:
Error: unsupported template literal span (0)


Is this a Bug or intended?
Was this page helpful?