Skip to content

Commit 8036a05

Browse files
committed
Pin the migration plan's scijava-persist version
1 parent 096698b commit 8036a05

1 file changed

Lines changed: 13 additions & 10 deletions

File tree

‎docs/migration-plan.md‎

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1431,16 +1431,19 @@ design settled now, so that Phase 4 inherits decisions rather than a debate:
14311431

14321432
## Later, not now
14331433

1434-
- **`scijava-persist`** (in the incubator): polymorphic serialization where
1435-
the implementations live in *other people's* repositories, resolved by
1436-
discovery — a real and recurring need, and the discovery half is exactly
1437-
SciJava-shaped. Worth rebuilding when a consumer appears, but not worth
1438-
lifting: it hard-wires Gson into its SPI (`IClassAdapter extends
1439-
JsonSerializer`), vendors a copy of Gson's `RuntimeTypeAdapterFactory`, and
1440-
is built on `Context` + `@Plugin`. A rewrite would be much smaller, since
1441-
Jackson has first-class polymorphic support and only the discovery-driven
1442-
subtype registration would be ours. Its author ended up inlining equivalent
1443-
logic downstream, and there is no concrete core consumer today.
1434+
- **`scijava-persist`**: polymorphic serialization where the implementations
1435+
live in *other people's* repositories, resolved by discovery — a real and
1436+
recurring need, and the discovery half is exactly SciJava-shaped. Worth
1437+
rebuilding when a consumer appears, but not worth lifting: it hard-wires Gson
1438+
into its SPI (`IClassAdapter extends JsonSerializer`), vendors a copy of
1439+
Gson's `RuntimeTypeAdapterFactory`, and is built on `Context` + `@Plugin`. A
1440+
rewrite would be much smaller, since Jackson has first-class polymorphic
1441+
support and only the discovery-driven subtype registration would be ours.
1442+
Its author ended up inlining equivalent logic downstream, and there is no
1443+
concrete core consumer today. It was never released, and its code stays in
1444+
the archived incubator, at
1445+
[`99712e0`](https://github.com/scijava/incubator/tree/99712e0471d36339e84852871614a96380916364/scijava-persist),
1446+
as a reference for that rewrite.
14441447

14451448
## Open decisions
14461449

0 commit comments

Comments
 (0)