You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
stashgen README: binding Selector(ctx, c) as a query parameter matches no rows — bind .Selector() #1852
stashgen is the generator in languages/golang/cmd/stashgen. It reads a Go struct with stash tags, and writes the code that encrypts, decrypts, and queries it. Users commit the generated *_stash.go file into their own package. In November 2026 we audited the Go SDK docs and generated code of version v0.1.0-rc.7.
Problem
The stashgen README says to bind At.Age.Selector(ctx, c) as a query parameter. pgx sends the value's redacted text. The query returns no rows and no error. Binding .Selector() works.
Proposal
Change the README sample to bind .Selector().
Once the SDK fix for JSONSelection lands, check the sample still matches it.
Activity