Difference Between Schema Types in Effect Library Packages
Hi. This might have been asked before but I couldn't find it on Discord.
What's the difference between these two
Schema
Schema
types:
import { Schema } from "@effect/schema"; // Aimport { Schema } from "effect/Schema"; // B
import { Schema } from "@effect/schema"; // Aimport { Schema } from "effect/Schema"; // B
So far I've been defining all my schemas with the one from A but then I've started using
Args.fileSchema
Args.fileSchema
from
@effect/cli
@effect/cli
which seems to use the
Schema
Schema
from B?
I couldn't find any documentation or an Effect roadmap in regards to these two Schema types and why they're different. Is there a plan to unify them in the future, or to only stick to A/B? How could I convert from A to B so I can use it with