Skip to content

feat: Add unpersistent versions of persistent behaviors (#2456) - #2465

Merged
He-Pin merged 1 commit into
1.3.xfrom
1.3.x-unpersistence
Nov 9, 2025
Merged

feat: Add unpersistent versions of persistent behaviors (#2456)#2465
He-Pin merged 1 commit into
1.3.xfrom
1.3.x-unpersistence

Conversation

@He-Pin

@He-Pin He-Pin commented Nov 9, 2025

Copy link
Copy Markdown
Member

(cherry picked from commit 523c05f)

@He-Pin
He-Pin requested a review from pjfanning November 9, 2025 12:43
@He-Pin He-Pin added this to the 1.3.0 milestone Nov 9, 2025
@He-Pin
He-Pin force-pushed the 1.3.x-unpersistence branch from 554a13c to 22c06e4 Compare November 9, 2025 12:47

@mdedetrich mdedetrich left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

@He-Pin

He-Pin commented Nov 9, 2025

Copy link
Copy Markdown
Member Author

Finally, the last one~

@He-Pin
He-Pin force-pushed the 1.3.x-unpersistence branch from 22c06e4 to 4fd8f91 Compare November 9, 2025 14:05
@He-Pin
He-Pin force-pushed the 1.3.x-unpersistence branch from 4fd8f91 to e98f8ff Compare November 9, 2025 14:27
@pjfanning

Copy link
Copy Markdown
Member

@mdedetrich what do you think about the class names? I think NonPersistent would be a better name.

@pjfanning

Copy link
Copy Markdown
Member

Unpersist means to undo a persist action. Non-Persistence is a better way to describe a persistence approach which doesn't really use physical persistence but that creates a dummy implementation useful for tests.

@He-Pin

He-Pin commented Nov 9, 2025

Copy link
Copy Markdown
Member Author

I agree, non persistent seems better.

@He-Pin
He-Pin merged commit 85d3bca into 1.3.x Nov 9, 2025
9 checks passed
@He-Pin
He-Pin deleted the 1.3.x-unpersistence branch November 9, 2025 15:38
@He-Pin

He-Pin commented Nov 9, 2025

Copy link
Copy Markdown
Member Author

@pjfanning I don't have a computer by my side, would you mind submit a pr to do the renaming ?

@pjfanning

Copy link
Copy Markdown
Member

Let's see what people think about the name. If NonPersist has doubts, we could just go for a more neutral name prefixed with Testkit or some such.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants