uptrace / bun

SQL-first Golang ORM

Home Page:https://bun.uptrace.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

model tag "alt" don't work

emileFRT opened this issue · comments

The documentation states that bun:"alt:alt_name" is a valid struct tag, but i get WARN: bun: [.. ]has unknown tag option: "alt" when trying to use it.
I don't see it listed as a field option in the function isKnownFieldOption where there is an "alias" option that i do not understand for fields.
I'm willing to try to fix it if it's indeed a bug