It would be helpful in some cases to return a hash.
This is already possible with the prepare method. https://github.com/procore/blueprinter/blob/master/lib/blueprinter/base.rb#L141 but it is listed as private and does not support the same interface as render.
Suggested method signature could be render_as_hash(object, options = {})
It would be helpful in some cases to return a hash.
This is already possible with the
preparemethod. https://github.com/procore/blueprinter/blob/master/lib/blueprinter/base.rb#L141 but it is listed as private and does not support the same interface as render.Suggested method signature could be
render_as_hash(object, options = {})