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

[ZIO2 Logging] simplify FiberRef creation #1086

Closed
vagroz opened this issue Jan 20, 2023 · 0 comments · Fixed by #1087
Closed

[ZIO2 Logging] simplify FiberRef creation #1086

vagroz opened this issue Jan 20, 2023 · 0 comments · Fixed by #1087

Comments

@vagroz
Copy link
Collaborator

vagroz commented Jan 20, 2023

Unsafe FiberRef constructor was exposed zio/zio#7650

We need to use it (along with updating ZIO version to 2.0.6)

private[logging] lazy val AnnotatedContextRef: FiberRef[Map[LogAnnotation[_], Any]] =

Gryum added a commit to Gryum/tofu that referenced this issue Jan 21, 2023
FunFunFine pushed a commit that referenced this issue Jan 23, 2023
* Update zio, zio-test, zio-test-sbt to 2.0.6

* Use unsafe FiberRef constuctor instead of running effectfull constructor via runtime (#1086)

Co-authored-by: Tofu Bot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant