Skip to content

[Go] Object API encodes empty strings #7709

@chriscraws

Description

@chriscraws

Go's object API writes empty strings into the binary - this is different than the behavior of the C++ object api, which only writes strings if they are not empty. Strings do not support = null to become optional, since they're offsets anyway. I propose updating the behavior for Go to match C++. This would be a relatively simple change - is there any opposition to updating the behavior? I can make a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions