We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We should ensure that the middleware always return a hash.
we could raise an error if the middleware returns something different than a hash. example:
class Mapper < HashMap::Base transforms_output ->(o) { o.compact }, ->(o){ logger.info(o.inspect) } property :name end
That will return true instead of a hash.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We should ensure that the middleware always return a hash.
we could raise an error if the middleware returns something different than a hash.
example:
That will return true instead of a hash.
The text was updated successfully, but these errors were encountered: