Skip to content

[api]: Please use the same property name for the query term in the platform, board, and library search requests #2027

Closed

Description

Describe the request

I want to reuse client code when searching for platforms, boards, and libraries via the gRPC API. Currently, the following search requests use different properties for the query term. The current difference is a mistake, right? Please use the same to help simplify client code. Thanks!

Describe the current behavior

Please read the request description. With JS/TS' structural typing, it would be super easy for clients to use the same JSON object for the search request.

Arduino CLI version

0.29.0

Operating system

macOS

Operating system version

11.6.5

Additional context

No response

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the nightly build
  • My request contains all necessary details

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions