You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f8d2c6b
Browse filesBrowse the repository at this point in the historyBrowse files
Move record id preparation into the JSON ingestion adapter
- The indexer copied the envelope `id` into the record for every format.
Only the JSON adapter knows that `record` is a Hash, so the copy belongs
there. This removes the last format-specific `is_a?` check from the
operation factory.
- `ValidationResult` now carries the event to build operations from, so an
adapter can return a prepared copy of the event.
- Prepares for a typed `Event` whose `record` type is a per-format
generic parameter.
- Narrows `validation_result.record_preparer`/`.event` with `# : ...` type
comments instead of `or raise`: both are always present together by
construction once `failure` is nil, so the assertion can't fire.
Generated with Claude Code
0 commit comments