Effect CommunityEC
Effect Community2y ago
16 replies
ryan

Considerations for Using Opaque Types in Large HTTP Schemas

What is the downside to using Opaque types with schemas? I have some "larger" schemas to model http responses/requests, and If I use opaque types, it can help clean up the type errors it seems from being so large or at least.

Before I start changing everything i was curious if there was any considerations I should make when deciding on making opaque types especially in hte case of http request/responses since they can be larger
Was this page helpful?