Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: introduce "reuse()" method#804

Merged
nikophil merged 1 commit into
zenstruck:2.xfrom
nikophil:feat/recycle
Mar 11, 2025
Merged

feat: introduce "reuse()" method#804
nikophil merged 1 commit into
zenstruck:2.xfrom
nikophil:feat/recycle

Conversation

@nikophil
Copy link
Copy Markdown
Member

@nikophil nikophil commented Feb 2, 2025

fixes #794

For now, reuse() only takes one parameter. It cannot be passed multiple times an object of the same class nor a Factory

@nikophil nikophil requested a review from kbond February 3, 2025 18:31
@nikophil nikophil mentioned this pull request Feb 26, 2025
@nikophil nikophil force-pushed the feat/recycle branch 5 times, most recently from 07cb846 to 7c02ad8 Compare February 26, 2025 22:09
@nikophil nikophil changed the title feat: introduce "recycle()" method feat: introduce "reuse()" method Mar 2, 2025
@nikophil nikophil force-pushed the feat/recycle branch 5 times, most recently from 10e6d0b to de220ae Compare March 2, 2025 14:04
Copy link
Copy Markdown
Member

@kbond kbond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love this! Docs are super clear and really show the benefit.

Comment thread docs/index.rst Outdated
Update docs/index.rst

Co-authored-by: Kevin Bond <[email protected]>
@nikophil nikophil merged commit 5cc8575 into zenstruck:2.x Mar 11, 2025
@nikophil nikophil deleted the feat/recycle branch March 11, 2025 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

reuse() method

2 participants