Dedup values passed into PostgrestFilterBuilder.in
What is the current behavior?
Values are incorporated into the url as is when duplicate values are present.
e.g. .in([1,1,2,2,3,3]) => in.(1,1,2,2,3,3)
The caused us to get a 414 URI too long when we passed in a long array of deduplicated values by accident. Would be nice if the library took care of this.
What is the new behavior?
Values will be deduplicated as duplicated.
e.g. .in([1,1,2,2,3,3]) => in.(1,2,3)
What kind of change does this PR introduce?
Dedup values passed into PostgrestFilterBuilder.in
What is the current behavior?
Values are incorporated into the url as is when duplicate values are present.
e.g. .in([1,1,2,2,3,3]) =>
in.(1,1,2,2,3,3)
The caused us to get a 414 URI too long when we passed in a long array of deduplicated values by accident. Would be nice if the library took care of this.
What is the new behavior?
Values will be deduplicated as duplicated.
e.g. .in([1,1,2,2,3,3]) =>
in.(1,2,3)