Repository navigation
fix(functions): only accept json values in a mapping or sequence invoke body - #2191
Conversation
…ke body A date, datetime or UUID in a dict body is a type error again instead of being serialized at run time. Pydantic models are still sent as model_dump_json() serializes them. SDK-3364.
|
No actionable comments were generated in the recent review. Summary
Change: Bug fix Merge Risk:
|
Follow-up to #2182. SDK-3364.
invoke()andinvoke_stream()type a mapping or sequence body as JSON values again, so adateorUUIDin a dict is a type error instead of being serialized at run time.memoryviewandResponse.json()stay.due_on.isoformat()again.