Effect CommunityEC
Effect Community•2y ago•
3 replies
mattphillips

Considering `Schema.combine` as a More Intuitive Alternative to `Schema.transform`

I'm sure this has been thought about loads and there's things I'm not considering but I've been playing with Schema.transform with @Stephen Bluck and am wondering if Schema.combine would be a more natural language of what it's actually doing?

At least in the example of what we were doing it was a case of combining two schemas into one, I'm not sure if transform does more and the name is more fitting but transform just feels very opaque as a function name (transform to what?).

I'm mostly just talking aloud here btw and not expecting any changes 😅
Was this page helpful?