This repository has been archived by the owner on Sep 26, 2023. It is now read-only.
putQueryParam should handle special serializable types #1783
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
putQueryParam
should handle object types that are serializable, such as FieldMask, by using proper serialization rather thanString.valueOf()
which would produce an unprocessable url format (i.e.toJson()
).A valid query param can be a primitive OR an instance of Duration, Timestamp, FieldMask or *Value wrapper classes (like Int32Value). Specific details of serialization for each type are in the protobuf language guide
The text was updated successfully, but these errors were encountered: