Zeev Manilovich
|
f9a9773c42
|
doc/md: improving privacy docs and multi tenant example (#1724)
* doc/md: improving privacy docs and multi tenant example
* cr changes
* removing error wrap in since it already exists in Denyf function
* Apply suggestions from code review
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
* cr fixes
* Update doc/md/privacy.md
* Update doc/md/privacy.md
* Update doc/md/privacy.md
* Update doc/md/privacy.md
* Update examples/privacytenant/example_test.go
* Update examples/privacytenant/rule/rule.go
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
|
2021-07-19 13:29:21 +03:00 |
|
Matthew Gabeler-Lee
|
c53b45ddb0
|
all: use %w instead of %v to wrap errors (#1275)
* all: use %w instead of %v for nested errors with fmt.Errorf
* all: update generated code to use %w instead of %v for error wrapping
|
2021-03-03 20:05:33 +02:00 |
|
Ariel Mashraki
|
dd4792f5b3
|
go: rename module from github.com/facebook/ent => entgo.io/ent (#1226)
|
2021-02-02 23:03:04 +02:00 |
|
Ariel Mashraki
|
75df97bd24
|
doc/privacy: add mutation filtering example to website
|
2021-01-22 23:04:09 +02:00 |
|
Ariel Mashraki
|
6ca96fff8b
|
example/tenantprivacy: add update/delete-one mutation policy
|
2021-01-22 23:04:09 +02:00 |
|
Ariel Mashraki
|
069793dd03
|
entc/gen: merge ivanvanderbyl:add-json-type-to-entql (#1112)
* Generate JSON types for entql
* Correctly normalize name of json type in generated code
* Override interface types for entql wheres
* Actually call correct method
* Implement better interface name stringer
* Define JsonP in template
* Cleanup and fix tests
* Remove extra json predicates
* Remove JSON predicates and use BytesP
* Regenerate
* Update entc/gen/template/dialect/sql/entql.tmpl
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
* Update entql/internal/gen.go
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
* Fix comment
* all: regenerate assets
Co-authored-by: Ivan Vanderbyl <ivanvanderbyl@gmail.com>
Co-authored-by: Ivan Vanderbyl <ivanvanderbyl@users.noreply.github.com>
|
2021-01-01 16:06:10 +02:00 |
|
Ariel Mashraki
|
3f22ae8b04
|
doc: add multi-tenancy example (#847)
|
2020-10-13 14:47:46 +03:00 |
|
Ariel Mashraki
|
6c2e0e86ea
|
examples/privacy: add multi-tenant example (#846)
|
2020-10-13 13:10:45 +03:00 |
|
Ariel Mashraki
|
02acd17c14
|
doc/privacy: initial version for privacy feature (#843)
|
2020-10-13 10:29:41 +03:00 |
|