Skip to content

Instantly share code, notes, and snippets.

@jacobaraujo7
Created July 12, 2020 22:26
Show Gist options
  • Save jacobaraujo7/541746aac2cc64306e9490ab659f635c to your computer and use it in GitHub Desktop.
Save jacobaraujo7/541746aac2cc64306e9490ab659f635c to your computer and use it in GitHub Desktop.
//before
Bind((i) => AppController(repository: i.get<MyRepository>();
//now
Bind((i) => AppController(repository: i());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment