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
In my case, I needed two host strategies. The domain could vary according to locale.
So I tried to set up, two host strategies with different parameters.
But when the strategies was added, the second one overlapped the first one. That's because strategy is pull from strategy plugin manager which gives you a reference to the object, not a new one.
The text was updated successfully, but these errors were encountered:
Your solution is the right one. I set shareByDefault to false: protected $shareByDefault = false; in a custom strategy plugin manager inherited from strategyPluginManager and that works. @juriansluiman Should we set this by default to false in strategyPluginManager since it does not break current tests?
In my case, I needed two
host
strategies. Thedomain
could vary according tolocale
.So I tried to set up, two
host
strategies with different parameters.But when the strategies was added, the second one overlapped the first one. That's because strategy is pull from strategy plugin manager which gives you a reference to the object, not a new one.
The text was updated successfully, but these errors were encountered: