Files
ent/examples/privacyadmin
Matthew Gabeler-Lee 110073c982 entc/gen: fix nil dereference (SIGSEGV) on db errors during Save with Hooks (#1629)
* entc/gen: check for errors before assuming success when save has hooks

* entc/integration,examples: update generated code
2021-06-09 08:56:11 +03:00
..

Privacy Admin Only Example

An example for an application that allows any user to read any data, but accepts mutations only from viewers with admin role.

Generate Assets

go generate ./...

Run Example

go test