Sign in Go Pro

Dagger 2

Multibinding Basics with a Set or Map

 

Up next

Previous

About

Dagger 2 allows you to bind several objects into a **Set** or **Map** so that your code doesn’t have to depend on the individual bindings. This is known as *Multibinding*. In this video, we'll walk through the basics of providing a multibound map, exposing your map as a dependency and viewing the generated Dagger code.

Lessons in Dagger 2