Skip to content

refactor(macro): rename memento_derive_off to skip_memento_default_derives#43

Merged
ShapelessCat merged 1 commit intomainfrom
rename-memento_derive_off-as-skip_memento_default_derives
Mar 27, 2026
Merged

refactor(macro): rename memento_derive_off to skip_memento_default_derives#43
ShapelessCat merged 1 commit intomainfrom
rename-memento_derive_off-as-skip_memento_default_derives

Conversation

@ShapelessCat
Copy link
Copy Markdown
Owner

The previous attribute name memento_derive_off was misleading because it did not turn off the Deserialize derive when the serde feature was enabled. The new name skip_memento_default_derives correctly communicates that it only suppresses the macro's default derivations (Clone, Debug, PartialEq) for the generated memento struct.

This aligns the terminology with the existing #[recallable(skip)] attribute.

…rives

The previous attribute name `memento_derive_off` was misleading because
it did not turn off the `Deserialize` derive when the `serde` feature
was enabled. The new name `skip_memento_default_derives` correctly
communicates that it only suppresses the macro's default derivations
(`Clone`, `Debug`, `PartialEq`) for the generated memento struct.

This aligns the terminology with the existing `#[recallable(skip)]`
attribute.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ShapelessCat ShapelessCat merged commit 22291e5 into main Mar 27, 2026
4 checks passed
@ShapelessCat ShapelessCat deleted the rename-memento_derive_off-as-skip_memento_default_derives branch March 27, 2026 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant