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 ea94807
Browse filesBrowse the repository at this point in the historyBrowse files
Separate the read and write IDs of array plugins (#11057)
Tracking Issue: #10701
Bottom of the decimal `Widen` stack. #11002 builds on it. No release
gate.
## Summary
A plugin can need another encoding's wire form without taking over its
reader. `serialized_ids()` currently serves both jobs, so a `Widen`
writer cannot emit a narrow decimal node while preserving the decimal
reader.
## Changes
Reader registration now uses `read_ids()`, while serialization validates
its output against `write_ids()`. A writing session does not need a
reader for every ID it writes. Existing plugins keep their current IDs,
and tests cover reader ownership and the two validation contracts.
`LayoutPlugin` is unchanged.
## API Changes
Replaces `ArrayPlugin::serialized_ids()` with required `read_ids()` and
`write_ids()` methods, with no defaults. Read IDs stay ordered oldest to
newest.
---------
Signed-off-by: Connor Tsui <[email protected]>
0 commit comments