question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

It is no longer possible to automatically forward a dependency

See original GitHub issue

Hi! 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:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kubukozcommented, Mar 30, 2021

Works like a charm 😃

1reaction
kitlangtoncommented, Mar 30, 2021

Oh! Not intended. Thanks for the report. I’ll fix this 😉

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found