You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One requirement for the API I'm writing with Rabl is that there should be no nil/null values in the JSON response. I quickly did this by monkeypatching Rabl::Builder#compile_hash.
Would you accept a pull request that implements this propery and adds a config.replace_nil_by_empty_string configuration option?
The text was updated successfully, but these errors were encountered:
One requirement for the API I'm writing with Rabl is that there should be no nil/null values in the JSON response. I quickly did this by monkeypatching
Rabl::Builder#compile_hash
.Would you accept a pull request that implements this propery and adds a
config.replace_nil_by_empty_string
configuration option?The text was updated successfully, but these errors were encountered: