Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

transport: QueryInfo contents inaccessible outside of transport #287

@Kulezi

Description

@Kulezi

QueryInfo contains only unexported fields:

// QueryInfo represents data required for host selection policy to create query plan.
// Token and strategy are only necessary for token aware policies.
type QueryInfo struct {
	tokenAware bool
	token      Token
	topology   *topology
	strategy   strategy
	offset     uint64 // For round robin strategies.
}

This creates a problem that its impossible to create a custom HostSelectionPolicy outside of transport package that would make any use of QueryInfo

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions