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
Thanks for this, and sorry for the delay. I agree that this behavior is unexpected. The hash should probably be merged into cache_options, instead of replacing it. I'm open to a PR for this.
Hmm, I just realized there's a conflict here. Currently, when passing a hash to Geocoder.configure to set options for a particular service (eg: Geocoder.configure(esri: {token: '...', for_storage: true})), the behavior is to overwrite, not merge. So changing to merge could break apps and therefore requires a minor version release.
Expected behavior
With:
should be
geocoder:
Actual behavior
is
nil
Steps to reproduce
Use
as your config. Then call
Geocoder.config[:cache_options][:prefix]
Environment info
The text was updated successfully, but these errors were encountered: