From cfb960dfbe09c882ada5242497bd8e48d2c603d1 Mon Sep 17 00:00:00 2001 From: Javier Chavarri Date: Tue, 16 Jan 2024 07:30:37 +0000 Subject: [PATCH 1/2] expose DecodeErrorPath --- src/atdgen_codec_decode.mli | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/atdgen_codec_decode.mli b/src/atdgen_codec_decode.mli index 848acc6..5ee5f8c 100644 --- a/src/atdgen_codec_decode.mli +++ b/src/atdgen_codec_decode.mli @@ -1,3 +1,5 @@ +exception DecodeErrorPath of string list * string + type 'a t = Js.Json.t -> 'a val make : (Js.Json.t -> 'a) -> 'a t From 25162e94c9112e72654cc9677cd0553d93cbb587 Mon Sep 17 00:00:00 2001 From: Javier Chavarri Date: Tue, 16 Jan 2024 07:32:21 +0000 Subject: [PATCH 2/2] update changelog --- CHANGES.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index e92a0ff..73883fb 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,7 @@ +## Unreleased + +- Expose `DecodeErrorPath`, [#51](https://github.com/ahrefs/melange-atdgen-codec-runtime/pull/51) + ## 1.0.0 (2023-10-19) Initial release.