reitit

Charlie Briggs 2025-08-11T18:17:25.360829Z

I'm trying to use malli.experimental.time with reitit - using :time/instant in schemas for body parameters, however I can't work out how to get it to register correctly, are there any examples of setting this up with reitit?

Charlie Briggs 2025-08-11T18:18:15.010139Z

ah I should have searched! I just found this https://clojurians.slack.com/archives/C7YF1SBT3/p1736523334505439 I'll give this a go and come back to chat if I have any issues!

Ben Sless 2025-08-11T18:23:59.983049Z

Could be worth adding this example to the docs

Charlie Briggs 2025-08-11T18:27:01.704409Z

yup, I had a very good rummage and attempt to do this myself and found the whole transform w/malli setup quite difficult to work out I couldn't work out why things in the default registry were not available in this case

Charlie Briggs 2025-08-11T18:32:34.689799Z

related to the above, is it possible to pass a malli registry to reitit - I want to wrap all of this coercion setup in a library where I can safely add malli.experimental.time to the registry without assuming the user has done it or modifying the default registry reading up on registries, I don't think this makes sense. I'll just do this via docs