ring-clojure / ring-codec

Utility library for encoding and decoding data
MIT License
63 stars 30 forks source link

ring.util.codec/form-encode does not throw when passing nested map #42

Open devurandom opened 1 year ago

devurandom commented 1 year ago

ring.util.codec/form-encode does not handle nested maps in a way that e.g. ring.middleware.nested-params would be able to parse (cf. https://github.com/ring-clojure/ring-codec/issues/19), but it also does not throw an error when being passed such map. It would be nice if it would handle this case better (cf. https://github.com/ring-clojure/ring-codec/issues/19#issuecomment-1528140326).