by codethief · 3y ago · 0 comments
Also, does the generated schema include the primary keys? Otherwise caching in the frontend might turn out to be difficult.
I originally wrote this to speed up prototyping / development projects, I'd never recommend shipping this anywhere near production.
Edit: roles via jwt token https://hasura.io/docs/latest/auth/authentication/jwt/
Yup, this is the way I've seen it implemented everywhere so far.