Authz could be done in so many different ways with this style of code gen .
Curious what might be considered as appropriate options ?
At caddy level is very decoupled , but looses data level security for the same route .
For example : https://caddyserver.com/docs/caddyfile/directives/forward_auth
At sqlc level , which is a nice singje source of truth .
Plenty of tradeoffs to consider ..
Authz could be done in so many different ways with this style of code gen .
Curious what might be considered as appropriate options ?
At caddy level is very decoupled , but looses data level security for the same route .
For example : https://caddyserver.com/docs/caddyfile/directives/forward_auth
At sqlc level , which is a nice singje source of truth .
Plenty of tradeoffs to consider ..