3 ms·
Yes it's not bad! I guess I dislike the code that the context generator produces. A bit like the auth generator that forces you to commit code you didn't write
by conradfr 4y ago
Yes it's not bad!
I guess I dislike the code that the context generator produces. A bit like the auth generator that forces you to commit code you didn't write and that is basically a mess to upgrade, and frankly not that great to modify to suit your needs.
- sph 4y agoI really dislike how the auth system is implemented, that it is only accessible with a generator. I had a crappy auth system I wanted to migrate to it, I had to run the generator and try to update my code with the generated logic. Ugh, not fun. But regarding contexts, they're just modules. Nothing mandates them, it's just a best practice to collect database functions in their own module, whatever the language. I've never used the context generator.