Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
h908714124 authored Dec 8, 2023
1 parent 953d527 commit b760129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Instead, you have the "same key, same bean" rule:

> If two beans of the same *key* are injected by the same component, then they are the same bean instance.
This means a component contains at most one instance per bean class (unless of course you're using qualifiers).
This means a component contains at most one instance per bean class (unless of course you're using qualifiers or inject a provider).

If you want to re-use a bean across multiple components, use a `@Factory` or a `@Builder` to pass it.
If possible, the component will use instance that was passed this way, rather than create a new bean instance.
Expand Down

0 comments on commit b760129

Please sign in to comment.