project-condor / sbt-mavlink

MAVLink to Scala bindings generation plugin for SBT
GNU Lesser General Public License v3.0
2 stars 2 forks source link

Consider read-only fields #1

Closed jodersky closed 9 years ago

jodersky commented 9 years ago

According to spec, fields of type uint8_t_mavlink_version are read-only. This property should be considered in generating scala bindings.

jodersky commented 9 years ago

Read-only fields don't play well with case classes. Furthermore this is a low-priority issue. As of now, the accepted workaround is to define readonly fields as constants and let the user add them when instantiating messages.