gen icon indicating copy to clipboard operation
gen copied to clipboard

Whether to consider adding the Query Struct Name public option

Open Wenrh2004 opened this issue 8 months ago • 1 comments

Describe the feature

In some cases, we want to keep each Query Struct isolated, while the Query Struct Name as public gives the user more freedom and provides a switch compatibility with previous versions

Motivation

In some scenarios where I want to inject fields below Query, the Query Struct is not exposed, making it difficult to fit some architectural designs

Related Issues

Wenrh2004 avatar Apr 13 '25 16:04 Wenrh2004

try Mode: gen.WithDefaultQuery | gen.WithQueryInterface,

qqxhb avatar May 21 '25 12:05 qqxhb