Fork me on GitHub
#reitit
<
2023-01-17
>
ikitommi12:01:05

not yet, but one of the motivations for building malli was the frustration how complex the closed-map-spec validation got in Route data validation.

danielneal12:01:53

cool, thanks for the quick answer!!

robert-stuttaford12:01:58

great question, and interesting answer

robert-stuttaford12:01:24

amazing what can cause things to tip from an idea to an obsession to see something built 😄

hifumi12312:01:11

Is it possible to handle coercion failures when using reitit.frontend.easy? (note: I'm aware of :on-coercion-error in r/match-by-path, but r.f.e. doesn't really use that). And what'd be the best way to prevent applying controllers until a user is authenticated? Right now I'm finding that it may be easier to dispatch events as pages for my SPA get rendered, as opposed to entering/exiting routes.