ring-clojure / ring-codec

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

Extending FormEncodeable to nil values #18

Closed boechat107 closed 6 years ago

boechat107 commented 7 years ago

Closes #17.

Extending FormEncodeable to nil values is useful when we have map parameters like {:a nil} to test malformed requests.

{:a nil} => "a="
weavejester commented 7 years ago

Thanks! Can you change the commit message to:

Extend FormEncodeable to handle nil values

The commit message should be in the imperative mood, like a command.

boechat107 commented 7 years ago

;-)

Should I change the PR's title too?

corey commented 6 years ago

We just ran into this same issue. This patch fixed it, thanks!