can-dbc icon indicating copy to clipboard operation
can-dbc copied to clipboard

chore!: rename value description types to be more descriptive

Open hcsch opened this issue 1 year ago • 0 comments

  • Use plural for enum describing a value descriptions statement
  • Use same spelling for value for a single value description
  • Use descriptive names for fields of a value description

I stumbled across the ValDescription type while using https://github.com/technocreatives/dbc-codegen, and was a bit confused by the fields being named a and b. I hope this commit can alleviate such confusion for others in the future.

This is a breaking change, so it'll likely have to wait for a future major release.

hcsch avatar May 07 '23 20:05 hcsch