ZLayers in ZIO 2.0 are a totally different BEAST!
DevInsideYou
ZIO finally made the ZLayers awesome. Let's have a look!
This video was inspired by @Kit Langton https://www.youtube.com/watch?v=yXcqjQ7Kcwk&ab_channel=Ziverge
The code is here: https://github.com/devinsideyou/zio2-layers
Work with me at AvantStay: Send me a direct email - vpekker [at] avantstay [dot] com Job description - https://functional.works-hub.com/jobs/remote-backend-engineer-c82a6
Table of Contents: 00:00 Intro 01:15 Demo Walkthrough 06:43 The Service Pattern in ZIO 2 15:35 ZLayer.Debug.tree 16:21 ZLayer.Debug.mermaid 17:17 ZIO.provideSome 20:46 ZIO.servicewithZIO (used to be accessM) 22:19 ZIO.provide circular dependency 27:57 Closing notes
Website: https://devinsideyou.com
Patreon: https://patreon.devinsideyou.com Discord: https://discord.devinsideyou.com Telegram: https://telegram.devinsideyou.com Twitter: https://twitter.devinsideyou.com GitHub: https://github.devinsideyou.com LBRY: https://lbry.devinsideyou.com
Install scripts: https://install.devinsideyou.com Giter8 templates: https://g8.devinsideyou.com
Spotify concentration playlist: https://code.radio.devinsideyou.com
Cheers and Happy Coding!
#scala #zio #Zlayer ... https://www.youtube.com/watch?v=3ScqDZp9X3c
119730213 Bytes