-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow mapping path params to types coercable from string
- Loading branch information
Showing
19 changed files
with
738 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"rescript-relay-router": minor | ||
--- | ||
|
||
Allow mapping path params to type coercable from string. |
8 changes: 8 additions & 0 deletions
8
examples/client-rendering/src/routes/Root__Todos__ByStatusDecoded__Child_route_renderer.res
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
let renderer = Routes.Root.Todos.ByStatusDecoded.Child.Route.makeRenderer( | ||
~prepare=_props => { | ||
() | ||
}, | ||
~render=_props => { | ||
React.null | ||
}, | ||
) |
8 changes: 8 additions & 0 deletions
8
examples/client-rendering/src/routes/Root__Todos__ByStatusDecoded_route_renderer.res
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
let renderer = Routes.Root.Todos.ByStatusDecoded.Route.makeRenderer( | ||
~prepare=_props => { | ||
() | ||
}, | ||
~render=_props => { | ||
React.null | ||
}, | ||
) |
142 changes: 141 additions & 1 deletion
142
examples/client-rendering/src/routes/__generated__/RouteDeclarations.res
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
186 changes: 186 additions & 0 deletions
186
...t-rendering/src/routes/__generated__/Route__Root__Todos__ByStatusDecoded__Child_route.res
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.