This is a feature request that we could choose to not use with_indifferent_access.
We're running several processes, and some would load rails, and some would not.
Current with this would give us different results upon different context, which I think
it's quite bad:
if result.first.respond_to?(:with_indifferent_access)
output.map(&:with_indifferent_access)
else
output.each(&INDIFFERENTIATOR)
end
Can we have an option like:
Que.hash_mode = :INDIFFERENTIATOR
Que.hash_mode = :with_indifferent_access
Que.hash_mode = :off # to turn it off completely
Que.hash_mode = :auto # could be what we have not
So that we could make this more deterministic?
Thanks!
/cc @mz026
This is a feature request that we could choose to not use
with_indifferent_access.We're running several processes, and some would load rails, and some would not.
Current with this would give us different results upon different context, which I think
it's quite bad:
Can we have an option like:
So that we could make this more deterministic?
Thanks!
/cc @mz026