arduino-cli icon indicating copy to clipboard operation
arduino-cli copied to clipboard

[grpc] Revisit the `PlatformRelease#type` naming (or typing)

Open kittaakos opened this issue 1 year ago • 0 comments
trafficstars

Describe the request

The PlatformRelease#type is a repeated field, still singular and not aligned with other repeated fields, such as boards

Describe the current behavior

The API property does not follow the naming convention. It should be named as types and have a repeated string type. Or keep the name, and use a string

Arduino CLI version

0.36.0-rc.1

Operating system

N/A

Operating system version

n/a

Additional context

As far as I know, the types array will always have one item. I propose keeping the repeated string type and adjusting the property name to types.

Issue checklist

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

kittaakos avatar Jan 17 '24 14:01 kittaakos