From 5f39372a39f6f86561fef2c79e9cea682deb800f 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..d7f131c0c --- /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 (single or list), 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. + +}