Files
Sanjit MathurandGeorge Panchuk 260c12f40d fix: encode non-JSON payload values over gRPC like REST does (#1473)
* fix(conversion): serialize uuid.UUID payload values over gRPC

json_to_value only converted datetime and date objects to strings, so a
payload holding a uuid.UUID (at any depth) raised "Not supported json
value" with prefer_grpc=True, while the REST client and local mode both
store it as the canonical UUID string. This hit upsert, set_payload and
the gRPC uploader alike.

Route uuid.UUID through the same to_jsonable_python branch as datetime,
so both transports send the same value.

* fix: encode payload values under pydantic v1 the same way as REST

* test: wait for upload_collection in uuid payload congruence test

---------

Co-authored-by: George Panchuk <george.panchuk@qdrant.tech>
2026-09-30 17:46:53 +07:00
..
2023-03-28 14:57:05 +02:00
2023-07-21 23:15:25 +02:00
2025-01-06 11:44:25 +00:00
2024-08-08 16:56:21 +02:00