Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A shortcut for ZIO WIthLocal instance definition #434

Merged
merged 1 commit into from
Nov 3, 2020
Merged

Conversation

Odomontois
Copy link
Member

No description provided.

* implicit val myLocal: My WithLocal MyContext = zioLocal
* }}}
*/
final def zioLocal[R <: Has[C], E, C: Tag]: ZIO[R, E, *] WithLocal C =
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why only for WithLocal?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@catostrophe What else?

@catostrophe catostrophe added the enhancement New feature or request label Nov 1, 2020
@Odomontois Odomontois merged commit 938c8b8 into master Nov 3, 2020
@Odomontois Odomontois deleted the zio-local branch November 3, 2020 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants