Skip to content

Add Transient attribute to exclude properties.#32

Merged
gustavofreze merged 1 commit into
mainfrom
feature/transient
Jul 18, 2026
Merged

Add Transient attribute to exclude properties.#32
gustavofreze merged 1 commit into
mainfrom
feature/transient

Conversation

@gustavofreze

Copy link
Copy Markdown
Member

A property marked with the Transient attribute is dropped from the type descriptor, so it is never serialized nor hydrated. This keeps infrastructure state such as event buffers and version counters out of the portable form permanently, without configuring omitting on every call.

Please follow the contributing guidelines.

Summary

What this pull request does.

Related issue

Closes #...

Checklist

  • Tests added or updated.
  • Documentation updated when applicable.
  • composer review passes.
  • composer tests passes.

A property marked with the Transient attribute is dropped from the type descriptor, so it is never serialized nor hydrated. This keeps infrastructure state such as event buffers and version counters out of the portable form permanently, without configuring omitting on every call.
@gustavofreze
gustavofreze merged commit b1caff6 into main Jul 18, 2026
7 checks passed
@gustavofreze
gustavofreze deleted the feature/transient branch July 18, 2026 19:11
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