Skip to content

Conversation

@onur-ozkan
Copy link
Collaborator

replaced_by is not always provided, so it's better to store it as None rather than an empty String.

This applies the following changes without any behavioral change:

  • Switch replaced_by to Option in MavDeprecation.
  • Parse missing/blank replaced_by as None.
  • Update deprecated attribute formatting to handle Option.

replaced_by is not always provided, so it's better to store
it as None rather than an empty String.

This applies the following changes without any behavioral change:

- Switch replaced_by to Option<String> in MavDeprecation.
- Parse missing/blank replaced_by as None.
- Update deprecated attribute formatting to handle Option.

Signed-off-by: Onur Özkan <work@onurozkan.dev>
@patrickelectric patrickelectric merged commit 3296cd6 into mavlink:master Jan 24, 2026
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants