Skip to content

Conversation

@babyTsakhes
Copy link
Collaborator

  • Remove: OptUint, OptInt, OptFloat64, OptString, OptBool, OptTuple.
  • Remove: MakeOptUint, MakeOptInt, MakeOptFloat64, MakeOptString, MakeOptBool, MakeOptTuple.
  • Add: OptAny = option.Generic[interface{}] .
  • Add: MakeOptAny constructor.
  • Update: All option structs to use option.* types.
  • Fix: Test type inconsistencies.

Changed #492

- Remove: OptUint, OptInt, OptFloat64, OptString, OptBool, OptTuple.
- Remove: MakeOptUint, MakeOptInt, MakeOptFloat64, MakeOptString, MakeOptBool, MakeOptTuple.
- Add: OptAny = option.Generic[interface{}] .
- Add: MakeOptAny constructor.
- Update: All option structs to use option.* types.
- Fix: Test type inconsistencies.

Changed #492
@babyTsakhes
Copy link
Collaborator Author

Later, I'll add the Tuple and Any type to the go-option library and make the code even more typesafe.

VshardRouter option.String
// Fields is field names for getting only a subset of fields.
Fields OptTuple
Fields OptAny // Type Any is instead of a local type Tuple.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, add the option.Any type into the go-option library. Users won't be confused then with the own type.

Comment on lines +15 to +16
* Added missing IPROTO feature flags to greeting negotiation
(iproto.IPROTO_FEATURE_IS_SYNC, iproto.IPROTO_FEATURE_INSERT_ARROW) (#466).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, move the changelog entry in a separate commit.

@babyTsakhes babyTsakhes marked this pull request as ready for review November 25, 2025 16:26
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.

3 participants