Using Pick/Omit with Opaque Classes in Effect Typescript
When using Schema.Stucut it's easy to create new Structs using Pick/Omit. However what would be the best way to Pick/Omit if using opaque Classes instead of Structs?
What I have came up with is the following
https://effect.website/play#713c7cb2f8e0
Any issues/concerns with this approach. Is there a more "Idiomatic" approach to achieving this?
What I have came up with is the following
https://effect.website/play#713c7cb2f8e0
Any issues/concerns with this approach. Is there a more "Idiomatic" approach to achieving this?
