It is no longer possible to automatically forward a dependency
See original GitHub issueHi! In 0.1.x, I was able to do this:
ZLayer.fromSomeMagic[Has[A], Has[A] with Has[B] with Has[C] with Has[D]](...)
if I provided ZLayer[A, Nothing, B]
, ZLayer[A, Nothing, C]
and ZLayer[A, Nothing, D]
.
After the upgrade to 0.2.2 the code stopped compiling: there’s a type mismatch on the opening paren (I suppose this is within the macro).
This might be intended, just thought it would be nice mentioning somewhere in the release notes or something 😃
Forwarding the dependency explicitly (adding ZLayer.service[A]
to the list) fixes the error.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Rigid dependencies - Tips and Tricks - Asana Community Forum
Great question! Dates for precedent and dependent tasks can automatically be updated if a change occurs that results in an overlap in the...
Read more >Suppress startup message of dependency - RStudio Community
My package ("ggseqplot") has one dependency ("TraMineR") which displays its startup message (created ... New replies are no longer allowed.
Read more >How to forward dependencies in Meson? - c++ - Stack Overflow
I think you need to use declare_dependency something like this should work. C_dep = declare_dependency(include_directories : C_includes) ...
Read more >Same day dependencies - monday Community Forum
However, when I try to do this using the Dependencies column, it automatically shifts the dependent date forward by one day.
Read more >Dependency Walker Frequently Asked Questions (FAQ)
When you first open a module in Dependency Walker, it only shows implicit, forwarded, and delay-load dependencies. Many dependencies are loaded dynamically and ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Works like a charm 😃
Oh! Not intended. Thanks for the report. I’ll fix this 😉