Skip to content

Support "wrapper" option #161

Closed
Closed
@benjaminbarbe

Description

@benjaminbarbe

Wrapping with Hashie::Mash can be slow (~ 4s)
with-hashie

Versus extend method (but it won't allow deeper hierarchies ~ 0.26s)
without-hashie

One option would be to support "wrapper" option, which could be Hash, Hashie::Mash, custom object...
Elasticsearch::Model.wrapper = Hash

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions