You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.
ZLayer Wiring Error
❯ Demo.this.A is provided by multiple layers:
❯ — a
❯ — x
Which is true. However, A appears in both the input and output of the x layer, which zio-magic could probably always treat as "passing the same thing we got in the input" and allow.
If this change stays as it is, I'll need to do some extra work to migrate, which is fine, just wanted to make sure this was intended and not going to change :)
The text was updated successfully, but these errors were encountered:
kubukoz
changed the title
Duplicate detection in forwarded dependencies
Duplicate detection of forwarded dependencies
May 13, 2021
I'll fix this. Basically, I'll prune each layers inputs from its outputs, so it doesn't consider these "pass-through" layers as candidates—or worse, as circular dependencies.
Hi!
In 0.3.2, as I understand, this is an issue:
The macro says:
Which is true. However,
A
appears in both the input and output of thex
layer, which zio-magic could probably always treat as "passing the same thing we got in the input" and allow.If this change stays as it is, I'll need to do some extra work to migrate, which is fine, just wanted to make sure this was intended and not going to change :)
The text was updated successfully, but these errors were encountered: