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
I just ran into a similar issue -- found a workaround... adding nil in the place of an object allowed me to work around this and get the object I expected from context:
I'm in a Rails project, using
concept
helper to do render:While I found the
context
hash will always be overwritten as{controller: ...}
, but my expected result is a hash withfoo
key.Some tracing:
controller
into context.https://github.com/trailblazer/cells-rails/blob/v0.0.7/lib/cell/rails.rb#L10-L11
model
wheremodel
here is actually an hash including options.https://github.com/trailblazer/cells/blob/4-0/lib/cell/view_model.rb#L62
Does my usage reasonable? If yes I think we can do a
deep_merge
to avoid options overwritten.The text was updated successfully, but these errors were encountered: