Skip to content
0:00 / 0:00

#zio#zlayer#scala3

ZLayers in ZIO 2.0 are a totally different BEAST!

DevInsideYou

13K subscribers • 47 videos on Hallway

YouTube

Intermediate. Assumes working knowledge.

7K views4 years ago1 recommendation

Programming languagesSoftware designScalaFunctional programmingDesign patterns

How ZLayers work in ZIO 2.0, including the service pattern, debugging dependency graphs, and circular dependencies.

ZIO finally made the ZLayers awesome. Let's have a look! This video was inspired by @kitlangton youtube.com/watch?v=yXcqjQ7Kcwk&ab_channel=Ziverge The code is here: github.com/devinsideyou/zio2-layers Table of Contents: Intro Demo Walkthrough The Service Pattern in ZIO 2 ZLayer.Debug.tree ZLayer.Debug.mermaid ZIO.provideSome ZIO.servicewithZIO (used to be accessM) ZIO.provide circular dependency Closing notes Website: devinsideyou.com Patreon: patreon.devinsideyou.com Discord: discord.devinsideyou.com Telegram: telegram.devinsideyou.com Twitter: twitter.devinsideyou.com GitHub: github.devinsideyou.com LBRY: lbry.devinsideyou.com Install scripts: install.devinsideyou.com Giter8 templates: g8.devinsideyou.com Spotify concentration playlist: code.radio.devinsideyou.com Cheers and Happy Coding! #scala #zio #Zlayer

Why it's here

1 person recommends this

What people say. Recommended as a great walkthrough of the revamped ZLayer dependency injection system in ZIO 2.0.

u/agilesteelin r/scala • Recommends

ZLayers in ZIO 2.0 are a totally different BEAST!