Closed mhenrixon closed 5 years ago
1 Error | |
---|---|
:no_entry_sign: | One of the lines below found in CHANGELOG.md doesn’t match the expected format. Please make it look like the other lines, pay attention to periods and spaces. |
* [#307](https://github.com/ruby-grape/grape-entity/pull/307): Allow exposures to call methods defined in modules included in an entity [@robertoz-01](https://github.com/robertoz-01).
Generated by :no_entry_sign: danger
thanks @mhenrixon
Before this change the only way I could find to access a hash with string keys was to either convert it to a symbol hash or define methods in the entity.
This should at least allow the entire hash to be accessed with string keys yet default to existing behavior (symbol keys).
If anyone has suggestions for how to improve this I'm all ears. This was just the quickest least intrusive thing I could think of at the time.