3 ms·
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 appear
by bmo-at 6y 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.
- ibraheemdev 6y agoHow 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.