-
Notifications
You must be signed in to change notification settings - Fork 46
State to url => order of attributes #221
Comments
Just to clarify, what you would like is that given a This seems feasible for such an easy use-case, but will start to get complicated for the Could you expand on your use-case and why you would need this? cc @bobylito |
Yes the goal is to be able to have query, index and page before attributes so that it is easy to modify in the url. Right now you can not ensure that. |
What about the parameters that are already in the URL (before we add ours)? |
For my integrations we can erase them |
But it could make sense to keep them |
Maybe since we are always ordering the parameters (#224) we are could be good here? Because modifying the parameters by hand is something WE developers only do..? We just need to ensure to always loop using the same order. Having always the parameters in the same order for everyone may be better here for us to debug/follow? |
Yes that works but I would just put attributes at the end |
Will PR in qs so that it supports sorting keys. See ljharb/qs#64 |
qs 5.2.0 released, let's get back to work! :D |
see #227 |
…ix/urlparamsorder Serialization of parameters in query strings are ordered FIX algolia/algoliasearch-helper-js#221
Following algolia/instantsearch#128
Can we keep the order in the generated url string compared to the trackedParameters
The text was updated successfully, but these errors were encountered: