Skip to content

object: Mark ECPartID.part_index field as optional - #441

Merged
roman-khimov merged 1 commit into
masterfrom
ec-part-idx-optional
Oct 13, 2026
Merged

roman-khimov merged 1 commit into
masterfrom
ec-part-idx-optional

Conversation

@cthulhu-rider

@cthulhu-rider cthulhu-rider commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

hasn't been released yet, so it's not a breakage

For an index, missing and explicit zero values have different semantics.
At the same time, GET/HEAD already specifies the behavior for the
absence. Optional notation allows to distinguish these cases in the
generated code (Go in particular).

Refs #427.

Signed-off-by: Leonard Liubich <leonard@morphbits.io>
@cthulhu-rider
cthulhu-rider marked this pull request as ready for review October 13, 2026 09:06
@roman-khimov
roman-khimov merged commit d3fd3e8 into master Oct 13, 2026
2 of 3 checks passed
@roman-khimov
roman-khimov deleted the ec-part-idx-optional branch October 13, 2026 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants