Hacker News new | ask | show | jobs
by bmo-at 1958 days ago
Lol. Started development on the API for my new app and was looking for an ORM, found gorm first and then switched to ent just a few days ago. Suddenly it appears on hackernews.

I can really recommend it. It's been nothing but a pleasure. Only criticism would be the following: if you have a structure named ent/schema/*.go at the root of your project like they recommend, the code it generates lands in ent/ This isn't always great because it bloats the folder quite a bit. A separate folder for the generated code would be terrific.

1 comments

How do you find the code generation flow? I would think it would be a bit disconcerting to have to generate tons of code every time you make a change.