Skip to content

Commit 5f39372

Browse files
committed
Update changelog
1 parent 89030cb commit 5f39372

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

changelog.d/1556

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
synopsis: Display capture hints in router layout
2+
prs: #1556
3+
4+
description: {
5+
6+
This PR introduces a CaptureHint type, which is passed as an extra argument to the CaptureRouter and CaptureAllRouter constructors for the Router' type.
7+
CaptureHint values are then used in routerLayout, to display the name and "type" of captured values (single or list), instead of just <capture> previously.
8+
9+
N.B.:
10+
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.
11+
12+
This PR also introduces Spec tests for the routerLayout function.
13+
14+
}

0 commit comments

Comments
 (0)