Skip to content

[Feat]: Standardize on builder() method for a2a API #498

Description

@jmesnil

Is your feature request related to a problem? Please describe.

We have a mix of builder API in the a2a-spec module:

Foo foo = new Foo.Builder()
  [...]
  .build();

and

Foo foo = Foo.builder()
  [...]
  .build();

We could standardise on builder() convention and deprecate the Builder() constructor to unify the API.

see #484 (comment) for the initial discussion about this feature

Describe the solution you'd like

Provide a single builder API convention across the a2a-spec API

Describe alternatives you've considered

No response

Additional context

No response

Code of Conduct

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

Activity

  1. added theissue type on Dec 2, 2025
  2. added a commit that references this issue on Dec 16, 2025
    a2499fb
  3. added a commit that references this issue on Dec 23, 2025
    d9aa42f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions