这是indexloc提供的服务,不要输入任何密码
Skip to content

[Bug]: GetTaskRequest.metadata gRPC change breaks http serialization #1002

@pwwpche

Description

@pwwpche

What happened?

#996 introduced GetTaskRequest.metadata to gRPC which makes it in sync with the JSON RPC schema TaskQueryParams. However, GetTaskRequest is a GET in REST protocol, and given that metadata is a struct, it cannot be easily serialized or mapped to HTTP params.

This is causing multiple build failures in Google.

Relevant log output

http: map field 'google.protobuf.Struct.fields' referred to by message 'a2a.v1.GetTaskRequest' cannot be mapped as an HTTP parameter.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions