#community-help

Reporting a Missing Feature in Golang Typesense Client

TLDR Sam reports a missing feature in the Golang Typesense client. Kishore Nallan provides a solution to update the Open API spec. Then, SamHendley successfully updates the file.

Powered by Struct AI
8
11mo
Solved
Join the chat
Aug 18, 2022 (13 months ago)
Sam
Photo of md5-8ac455f6d302407f03def4c775778b28
Sam
07:13 PM
Hi all. Where is the best place to report a minor missing feature in the golang type sense client? There doesn't appear to be support for the ‘infix’ setting
09:08
Sam
09:08 PM
Failing that is there an way to add extra parameters to the object for that any other missing features?
Aug 19, 2022 (13 months ago)
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
01:39 AM
Need to update the [Open API spec](https://github.com/typesense/typesense-api-spec/blob/master/openapi.yml) and then once it's merged, need to regenerate the go types with go generate (which fetches the spec and does some go-specific tuning and then generates the types).

Happy to accept PRs, or I will have to get around to this when time permits.
SamHendley
Photo of md5-a9a351e11d64f05b41fec183816a0cda
SamHendley
01:09 PM
Wow that was pretty easy
01:10
SamHendley
01:10 PM
The generator script produces slightly ‘unstable’ output so a few of the generated files get fields permuted on my machine.
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
01:11 PM
Yeah I've noticed that, that's fine.
SamHendley
Photo of md5-a9a351e11d64f05b41fec183816a0cda
SamHendley
01:13 PM
My work has some rather cumbersome policies about github PRs but here is the updated file.
Oct 24, 2022 (11 months ago)
SamHendley
Photo of md5-a9a351e11d64f05b41fec183816a0cda
SamHendley
08:21 PM
At long last: PR to add infix options to typesense-api spec