From bba3f412464e30f39cfb66e79e9c8b8c8fcf4b91 Mon Sep 17 00:00:00 2001 From: Nicolas BACQUEY Date: Tue, 8 Mar 2022 16:28:52 +0100 Subject: [PATCH] Update changelog --- changelog.d/1556 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 changelog.d/1556 diff --git a/changelog.d/1556 b/changelog.d/1556 new file mode 100644 index 000000000..6b4a9d168 --- /dev/null +++ b/changelog.d/1556 @@ -0,0 +1,14 @@ +synopsis: Display capture hints in router layout +prs: #1556 + +description: { + +This PR introduces a CaptureHint type, which is passed as an extra argument to the CaptureRouter and CaptureAllRouter constructors for the Router' type. +CaptureHint values are then used in routerLayout, to display the name and type of captured values, instead of just previously. + +N.B.: +Because the choice smart constructor for routers can aggregate Capture combinators with different capture hints, the Capture*Router constructors actually take a list of CaptureHint, instead of a single one. + +This PR also introduces Spec tests for the routerLayout function. + +}