Skip to content

Add override-safe attribute serialization - #114

Merged
kylekthompson merged 2 commits into
mainfrom
attribute-serialization
Aug 21, 2026
Merged

Add override-safe attribute serialization#114
kylekthompson merged 2 commits into
mainfrom
attribute-serialization

Conversation

@kylekthompson

Copy link
Copy Markdown
Owner

Summary

  • derive Strict's internal value behavior from declared readers instead of user-overridable to_h
  • add Rails-compatible as_json support without requiring Active Support at runtime
  • document and type the new serialization API

Verification

  • bundle exec rake

@kylekthompson
kylekthompson force-pushed the attribute-serialization branch from 1ba8f27 to d61a406 Compare August 21, 2026 00:57
@kylekthompson
kylekthompson marked this pull request as ready for review August 21, 2026 00:59
@kylekthompson
kylekthompson merged commit 57f7804 into main Aug 21, 2026
4 checks passed
@kylekthompson
kylekthompson deleted the attribute-serialization branch August 21, 2026 00:59
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