Creating Reusable Program with Generics for Different Document Schemas
Hi, I am trying to create some program with Effect that would be reusable for different document schemas. I've tried to define my program deps with generics but couldn't find a way of doing it.
export class Deps extends Context.Tag('Deps')< Deps, documentSchema: S.Schema<A, O>>() {}
export class Deps extends Context.Tag('Deps')< Deps, documentSchema: S.Schema<A, O>>() {}