Skip to content

demo_ref: pass a Deriving_Json codec to the persistent eref#5

Draft
balat wants to merge 1 commit into
masterfrom
deriving
Draft

demo_ref: pass a Deriving_Json codec to the persistent eref#5
balat wants to merge 1 commit into
masterfrom
deriving

Conversation

@balat

@balat balat commented May 29, 2026

Copy link
Copy Markdown
Member

Summary

Companion to ocsigen/eliom#859 / ocsigen/ocsigen-start#703.
Eliom 13 requires every `Reference.eref ~persistent` to carry a
`Deriving_Json.t` codec. Use
`[%json: Os.Date.local_calendar option]`, which resolves to the
codec exposed by `Os.Date`.

Test plan

  • `demo_ref.cmx` is produced by `dune build` against
    `eliom#deriving` + `ocsigen-start#deriving`

Eliom 13 requires every Reference.eref ~persistent to carry a
Deriving_Json codec. Use [%json: Os.Date.local_calendar option],
which resolves to the codec exposed by Os.Date.
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