RubyGems Navigation menu

typed_attrs 0.2.2

TypedAttrs integrates Sorbet's T::Struct with ActiveRecord's JSON/JSONB columns, providing type-safe structured data storage with runtime and static type checking. Supports nested structs, arrays, hashes, union types, and automatic validation.

Gemfile:
=

install:
=

Versions:

  1. 0.2.2 October 10, 2025 (14.5 KB)
  2. 0.2.0 October 10, 2025 (14.5 KB)
  3. 0.1.0 October 10, 2025 (14.5 KB)

Runtime Dependencies (2):

activemodel >= 6.0

Owners:

Pushed by:

GitHub

Authors:

  • Speria

SHA 256 checksum:

=

Total downloads 314

For this version 120

Version Released:

License:

MIT

Required Ruby Version: >= 3.2.0

New versions require MFA: true

Version published with MFA: true

Links: