jschaf / pggen

Generate type-safe Go for any Postgres query. If Postgres can run the query, pggen can generate code for it.
MIT License
281 stars 26 forks source link

allow overriding "id" acronym #80

Closed darkxanter closed 1 year ago

jschaf commented 1 year ago

Thanks for the improvement, merged! If you don't mind sharing, how do you use pggen? There are a few larger projects I'd like to tackle but it's helpful to know how folks actually use pggen to help prioritize.

New release with the change: https://github.com/jschaf/pggen/releases/tag/2023-01-27

darkxanter commented 1 year ago

I am using pggen for a small internal project. There is only one issue - I have to manually edit the generated code for pgx v5. So far, this is only 1 file.

jschaf commented 1 year ago

Gotcha, follow https://github.com/jschaf/pggen/issues/74 for the pgx5 upgrade progress. I'll tackle that next since it looks relatively straightforward.