Commit Graph

330 Commits

Author SHA1 Message Date
Ariel Mashraki
30fc87de7f website/blog: fix gofmt in entviz blog 2021-08-26 16:01:50 +03:00
Amit Shani
0d63869c87 doc/website/blog: entviz blog post (#1871) 2021-08-26 15:10:31 +03:00
Ariel Mashraki
1304dc3d79 doc/features: format sql/modifier examples 2021-08-25 18:28:37 +03:00
Ariel Mashraki
badf981b37 entc/integration: add example for embedding ent.T in Scan 2021-08-24 22:26:59 +03:00
Amit Shani
60e726812b schema/field: add NotEmpty built-in validator to bytes fields (#1869)
* added MaxLen built-in validator to `[]byte`

* typo

* move test to type_test.go

* Update doc/md/schema-fields.md

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>

* added min len validator to bytes

* fix tests
go generate

* CR

* add not empty validator

* CR

* doc/md:  add doc on `NotEmpty` bytes validator

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
2021-08-24 14:47:15 +03:00
Amit Shani
ac0bd65145 schema/field: add MinLen built-in validator to bytes fields (#1867)
* added MaxLen built-in validator to `[]byte`

* typo

* move test to type_test.go

* Update doc/md/schema-fields.md

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>

* added min len validator to bytes

* fix tests
go generate

* CR

* CR

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
2021-08-24 14:07:29 +03:00
Amit Shani
ad792fe79e schema/field: add MaxLen built-in validator to bytes fields (#1863)
* added MaxLen built-in validator to `[]byte`

* typo

* move test to type_test.go

* Update doc/md/schema-fields.md

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
2021-08-24 10:23:43 +03:00
allcontributors[bot]
d84ac191b1 docs: add dakimura as a contributor for code (#1862)
* docs: update doc/md/contributors.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-08-22 22:07:28 +03:00
lhlmgr
22527cc281 Update graphql.md (#1846)
fix typo in doc: `WithNodeType` accepts a mapping function, while `WithFixedNodeType` accepts a `string` e.g. the typ name.
2021-08-17 06:02:30 +03:00
Amit Shani
7c727e1f84 doc/md: fix doc in eager-load page (#1844)
* update typo

* Update eager-load.md
2021-08-16 11:05:41 +03:00
Zeev Manilovich
5aaa7736ee doc/schema-fields: make enum example clearer (#1842) 2021-08-15 16:03:00 +03:00
Ciaran Liedeman
f25e0c17ea doc: Removed extra limit (#1837) 2021-08-14 13:27:14 +03:00
Yoni Davidson
d1593150ee doc/website/blog: blog post prometheus hook (#1829)
* starting with part 1

* up to ent hooks

* finish hooks

* add metrics

* show metrics

* done first review

* duplicate repo

* minor links update

* Update doc/website/blog/2021-08-12-building-observable-ent-application-with-prometheus.md

Co-authored-by: Rotem Tamir <rotemtamir@gmail.com>

* Update doc/website/blog/2021-08-12-building-observable-ent-application-with-prometheus.md

Co-authored-by: Rotem Tamir <rotemtamir@gmail.com>

* Update doc/website/blog/2021-08-12-building-observable-ent-application-with-prometheus.md

Co-authored-by: Rotem Tamir <rotemtamir@gmail.com>

* Update doc/website/blog/2021-08-12-building-observable-ent-application-with-prometheus.md

Co-authored-by: Rotem Tamir <rotemtamir@gmail.com>

* Update doc/website/blog/2021-08-12-building-observable-ent-application-with-prometheus.md

Co-authored-by: Rotem Tamir <rotemtamir@gmail.com>

* Update doc/website/blog/2021-08-12-building-observable-ent-application-with-prometheus.md

Co-authored-by: Rotem Tamir <rotemtamir@gmail.com>

* Update doc/website/blog/2021-08-12-building-observable-ent-application-with-prometheus.md

Co-authored-by: Rotem Tamir <rotemtamir@gmail.com>

* Update doc/website/blog/2021-08-12-building-observable-ent-application-with-prometheus.md

Co-authored-by: Rotem Tamir <rotemtamir@gmail.com>

* remove shell syntax

* Update doc/website/blog/2021-08-12-building-observable-ent-application-with-prometheus.md

Co-authored-by: MasseElch <12862103+masseelch@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>

* Update doc/website/blog/2021-08-12-building-observable-ent-application-with-prometheus.md

Co-authored-by: MasseElch <12862103+masseelch@users.noreply.github.com>

Co-authored-by: Rotem Tamir <rotemtamir@gmail.com>
Co-authored-by: MasseElch <12862103+masseelch@users.noreply.github.com>
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
2021-08-12 14:53:09 +03:00
MasseElch
6f4882663a doc/md: rename masseelch user (#1825)
* doc/md: Hide my clear name

😄

* doc/md: Hide my clear name
2021-08-11 17:39:19 +03:00
MasseElch
d6ef361a7c doc/website/blog: Updated instructions to meet updated ent and elk. (#1818) 2021-08-09 23:47:38 +03:00
Yoni Davidson
33e3a8d7b7 doc/md: moved setup go environment before installation (#1816) 2021-08-08 14:14:10 +03:00
Ariel Mashraki
e0a85ab609 blog/upsert: minor changes to upsert blogpost 2021-08-05 21:45:21 +03:00
Rotem Tamir
1a4403c1b3 doc/website/blog: blog post describing the upsert API in v0.9.0 2021-08-05 21:45:21 +03:00
Arie Litovsky
f0710aa004 doc: fix typos in documentation (#1810)
* Fix typos

* More typos
2021-08-05 17:31:18 +03:00
allcontributors[bot]
d38683acaa docs: add sadmansakib as a contributor for doc (#1804)
* docs: update doc/md/contributors.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-08-04 22:41:35 +03:00
Sadman Sakib
df3f3bd5b3 doc: fix typo on doc/md/crud.md (#1803)
Signed-off-by: sadmansakib <ssadman8@gmail.com>
2021-08-04 22:40:28 +03:00
Ariel Mashraki
dc35e380e5 doc/crud: document upsert feature-flag 2021-08-04 20:59:26 +03:00
MasseElch
a5c931ed13 doc/website/blog: add instructions to ensure mod dependencies are resolved correctly (#1800)
* doc/website/blog: Add instrustions to ensure mod dependencies are resolved correctly

* Update doc/website/blog/2021-07-29-generate-a-fully-working-go-crud-http-api-with-ent.md

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
2021-08-04 13:38:26 +03:00
Yoni Davidson
c53dc35cc3 doc: fixed typo in codegen hook example (#1798) 2021-08-04 12:52:16 +03:00
MasseElch
56e32a3392 doc/website/blog: fixes a typo in elk blog post (#1795) 2021-08-03 13:05:51 +03:00
Ariel Mashraki
64e0116ed7 blog: minor style changes to crud post 2021-07-29 23:45:07 +03:00
MasseElch
2ba1c6b22d doc/website/blog: Generate a fully-working Go CRUD HTTP API with Ent (#1788)
* doc/website/blog: Generate a fully-working Go CRUD HTTP API with Ent

* Update doc/website/blog/2021-09-29-generate-a-fully-working-go-crud-http-api-with-ent.md

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>

* Rename 2021-09-29-generate-a-fully-working-go-crud-http-api-with-ent.md to 2021-07-29-generate-a-fully-working-go-crud-http-api-with-ent.md

* removing formatter

* final touches

Co-authored-by: Rotem Tamir <rotemtamir@gmail.com>
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
2021-07-29 23:24:59 +03:00
MasseElch
b4ba9eb12f doc/md: adding a missing space in writing-docs documentation (#1785) 2021-07-29 17:19:38 +03:00
MasseElch
19b418d1a0 doc/md: fixing a formatting error in writing-docs documentation 2021-07-29 15:54:54 +03:00
Ariel Mashraki
60a544bb9d doc/featureflag: add doc and example to the sql/modifier flag 2021-07-29 11:34:21 +03:00
allcontributors[bot]
d1c568dac7 docs: add shomodj as a contributor for doc (#1782)
* docs: update doc/md/contributors.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-07-29 11:27:22 +03:00
Boris Shomodjvarac
5e9cc84f99 doc/getting-started: fix typos (#1779)
fixing typo
2021-07-29 11:24:48 +03:00
allcontributors[bot]
b9a6b955f8 docs: add neel229 as a contributor for code (#1765)
* docs: update doc/md/contributors.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-07-22 23:37:37 +03:00
allcontributors[bot]
2d7b298405 docs: add squarebat as a contributor for code (#1763)
* docs: update doc/md/contributors.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-07-22 23:36:23 +03:00
Rotem Tamir
444b5f57b9 doc/website/blog: database locking techniques with ent (#1762)
* doc/website/blog: database locking techniques with ent

* Update doc/website/blog/2021-07-22-database-locking-techniques-with-ent.md

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>

* Update doc/website/blog/2021-07-22-database-locking-techniques-with-ent.md

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>

* Update doc/website/blog/2021-07-22-database-locking-techniques-with-ent.md

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>

* Update doc/website/blog/2021-07-22-database-locking-techniques-with-ent.md

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>

* Update doc/website/blog/2021-07-22-database-locking-techniques-with-ent.md

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>

* Update doc/website/blog/2021-07-22-database-locking-techniques-with-ent.md

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>

* Update doc/website/blog/2021-07-22-database-locking-techniques-with-ent.md

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
2021-07-22 17:05:24 +03:00
Ariel Mashraki
0751c342c6 doc/feature-flags: mention the new sql/lock feature-flag 2021-07-21 11:50:06 +03:00
Ariel Mashraki
6ff6e81652 doc/template: add docs for template helpers 2021-07-20 09:57:28 +03:00
allcontributors[bot]
dd4d2521a7 docs: add nmemoto as a contributor for doc (#1744)
* docs: update doc/md/contributors.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-07-19 21:27:26 +03:00
Takafumi Umemoto
bf45b2f2b0 doc/faq: fix typo in sonyflake example (#1743) 2021-07-19 21:26:50 +03:00
Rotem Tamir
0f16f49fff doc/md: slight rewording of privacy.md (#1740) 2021-07-19 14:54:04 +03:00
Ariel Mashraki
96e43e8b93 doc/privacy: revert wrong format verb of error (#1739) 2021-07-19 13:56:57 +03:00
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
Ariel Mashraki
92f4e83714 website: star Ent at GitHub header 2021-07-17 15:38:35 +03:00
Zeev Manilovich
c8ed4e9d7a doc/md: making the getting started section more consistent and clearer (#1713)
* doc/md: making the getting started section more consistent and clerer

* Update doc/md/getting-started.md

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>

* cr changes

* cr changes

* removing imports

* Update doc/md/getting-started.md

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
2021-07-13 14:32:55 +03:00
Ariel Mashraki
e1e197483c doc/tutorial: add page about filter inputs (#1706)
* doc/tutorial: add page about filter inputs

Also, fixed some issues in website configuration

* Update doc/md/tutorial-todo-gql-filter-input.md

Co-authored-by: Rotem Tamir <rotemtamir@gmail.com>

Co-authored-by: Rotem Tamir <rotemtamir@gmail.com>
2021-07-11 16:08:26 +03:00
Ariel Mashraki
095ef5b4e6 doc/graphql: change mutation-input example to extension 2021-07-10 22:01:16 +03:00
Ariel Mashraki
ac9f801259 doc/graphql: switch default example from templates to extension 2021-07-10 14:37:00 +03:00
allcontributors[bot]
4f97976d2b docs: add akfaew as a contributor for code (#1702)
* docs: update doc/md/contributors.md 

* docs: update .all-contributorsrc

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-07-09 16:17:40 +03:00
Ariel Mashraki
560560a7a0 doc/schema-fields: fix incorrect support for UUID type 2021-07-09 15:40:29 +03:00
Ariel Mashraki
fe5d98aae1 doc/schema-fields: add example for id with custom storage-key 2021-07-09 09:54:12 +03:00