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
Use repeated query parameters for array serialization instead of encoding an array as a single parameter:
For example: query=1&query=2&query=3 instead of query=[1,2,3]
Describe the proposed solution
A StoreOption to the effect of append to indicate that modifying the searchParams should use "append" instead of "set" and should read via "getAll" instead of "get". An empty array serializes as an absence of keys and a non-empty array serializes using the encoder on each element and storing the value in repeated query parameters
The text was updated successfully, but these errors were encountered:
Describe the problem
Use repeated query parameters for array serialization instead of encoding an array as a single parameter:
For example:
query=1&query=2&query=3
instead ofquery=[1,2,3]
Describe the proposed solution
A StoreOption to the effect of
append
to indicate that modifying the searchParams should use "append" instead of "set" and should read via "getAll" instead of "get". An empty array serializes as an absence of keys and a non-empty array serializes using the encoder on each element and storing the value in repeated query parametersThe text was updated successfully, but these errors were encountered: