Effect CommunityEC
Effect Community3y ago
5 replies
Alex Dixon

Layers that depend on layers...?

I feel like this is bad. Is it?
export const KubernetesCustomObjectAPILive = Effect.map(KubeConfig, (kc) =>
  Layer.effect(
    KubernetesCustomObjectAPI,
    Effect.try(() => kc.makeApiClient(k8s.CustomObjectsApi))
  )
)
Was this page helpful?