Update comment on renderBackendRoute
commite2fc9ed287b038451d8f13e829746f6ae0d74fe4
authorAli Abrar <aliabrar@gmail.com>
dateTue 22 Jan 2019, 11:12 (8 years ago)
parent4b39b90
lib/route/src/Obelisk/Route.hs+2−2
@@ -833,8 +833,8 @@ makePrisms ''ObeliskRoute
833833deriveGEq ''Void1
834834deriveGCompare ''Void1
835835
836−-- | Given a backend route and the standard backend route encoder,
837−-- render the route (path and query string).
836+-- | Given a backend route and a checked route encoder, render the route (path
837+-- and query string). See 'checkEncoder' for how to produce a checked encoder.
838838renderBackendRoute
839839 :: forall br a.
840840 Encoder Identity Identity (R (Sum br a)) PageName