Commit Graph

117 Commits

Author SHA1 Message Date
Ariel Mashraki
47fef27bc6 doc/graphql: gofmt imports in entc example (#795) 2020-09-23 13:45:09 +03:00
Ariel Mashraki
2b78d1d9af doc: add more info to getting-started summary (#787) 2020-09-21 15:59:23 +03:00
Ariel Mashraki
a7bb5346a4 doc: add uuid to schema fields (#786) 2020-09-21 13:08:33 +03:00
Ariel Mashraki
dc2645e2d5 doc: add page for gqlgen integration (#776) 2020-09-17 17:14:35 +03:00
Ariel Mashraki
c6f9d25d8e doc: update examples for custom templates 2020-09-15 16:31:29 +03:00
Ariel Mashraki
98bc30d618 doc: document ordering checks for column names 2020-09-13 14:01:44 +03:00
Ariel Mashraki
e552399bf3 doc: add fb privacy and terms of use (#755) 2020-09-13 13:23:52 +03:00
Ariel Mashraki
feed51d773 doc: add hook helpers to ent website (#729) 2020-09-06 10:07:41 +03:00
Ariel Mashraki
77122ce70e doc: minor spelling changes (#711) 2020-08-29 21:17:55 +03:00
Alexander Emelin
e30adfc601 docs: fix missing ref in schema example (#682) 2020-08-22 13:13:25 +03:00
Justin Page
e9ae2072ea doc: use pkg.go.dev for documentation links (#681)
pkg.go.dev serves Go documentation. However, it also understands modules
and has information about past versions of a package. Later this year
godoc.org will be redirected to pkg.go.dev.

Let's use this subdomain going forward when linking Go documentation.

Reference: https://blog.golang.org/pkg.go.dev-2020
2020-08-22 13:11:36 +03:00
Paul Vollmer
238ac627f6 doc/md: fix added missing context import (#683) 2020-08-22 13:09:59 +03:00
Ariel Mashraki
fd0a7f9f02 all: facebookincubator/ent => facebook/ent (#660)
ent repository is going to be migrated to facebook organization
2020-08-18 11:05:08 +03:00
Ariel Mashraki
07c38e8e8f doc: update project readme and website (#662) 2020-08-09 12:32:14 +03:00
Ariel Mashraki
2a0c219f9d doc: add schema and template annotations (#657)
And add gotemplate to highlight.js as a custom language
2020-08-04 22:14:00 +03:00
Ariel Mashraki
c7bf64fa71 doc: add an example for create-bulk api (#650) 2020-07-30 19:25:19 +03:00
Ariel Mashraki
f629275d60 doc: use dialect package constant in example (#607) 2020-07-15 19:30:23 +03:00
Ariel Mashraki
6cd1d18d46 doc: add transaction hooks to entgo.io (#600) 2020-07-12 11:36:29 +03:00
Roger Ng
372ccf79aa doc: add a sql.DB integration section for pgx with PostgreSQL (#574)
* doc: add a sql.DB integration section for pgx with PostgreSQL

* Fix indentation
2020-06-29 14:58:52 +03:00
Ariel Mashraki
52305c1834 doc: add a mutation section for crud interface (#570) 2020-06-25 23:17:20 +03:00
Alex Snast
93c78aeda6 ent/ci: avoid ci trigger on doc changes 2020-06-18 09:36:27 +03:00
Ariel Mashraki
c616f7f2e7 doc: add docs for edges storage-key option (#551) 2020-06-16 22:50:29 +03:00
Ariel Mashraki
9a47fea02c doc: add documentation for go-type option (#536) 2020-06-09 11:39:32 +03:00
Ariel Mashraki
0c76b19143 doc: update docs regarding entc template formats (#489) 2020-05-12 12:29:00 +03:00
Ariel Mashraki
daf658e265 doc: add documentation for schema-type option (#487) 2020-05-11 19:55:10 +03:00
Ariel Mashraki
fa9ab77233 doc: add a section on external templates (#482) 2020-05-09 23:42:00 +03:00
Ariel Mashraki
7de4f4b758 doc: add documentation and example for enttest (#453) 2020-04-26 16:31:24 +03:00
Ariel Mashraki
88ae8eded2 doc: gofmt code blocks in mixin examples (#440) 2020-04-20 14:02:17 +03:00
Ariel Mashraki
1c49159d18 entc/gen: add indexes, edges and hooks to mixin (#431) 2020-04-20 13:40:56 +03:00
Ariel Mashraki
1ff5e02ea6 doc: update sqlite migration status (#429) 2020-04-13 10:17:05 +03:00
Ariel Mashraki
a2ea5bfbee cmd/entc: add generate.go file to env init (#402)
* cmd/entc: add generate.go file to env init

* doc: update getting-started and codegen documentation
2020-03-24 19:23:30 +02:00
Ariel Mashraki
4d29191005 doc: add hooks documentation and example (#396)
* doc: add hooks documentation and example

* docs: finish hooks first documentation
2020-03-22 13:31:32 +02:00
Ariel Mashraki
dc222c0b15 entc/gen: remove example_test template from codegen (#351)
Fixes #297
2020-02-18 12:26:46 +02:00
Ariel Mashraki
310f5c7fb4 doc: add documentation and examples for id field (#349) 2020-02-16 17:27:08 +02:00
zjl233
7f8c2249d3 doc: fix a doc error (#339) 2020-02-11 14:01:55 +02:00
Ariel Mashraki
f270e41f6e doc: add comment on future development of eager-loading (#283) 2020-01-13 21:24:09 +02:00
Ariel Mashraki
82bc640870 doc: add documentation and examples for eager-loading (#282) 2020-01-13 17:37:59 +02:00
Jeremy
59ddab244d fix comment error in schema-edges.md (#238) 2019-12-13 18:14:07 +02:00
hantmac
e045095ce2 fix comment error 2019-12-13 11:32:56 +08:00
Jian Li
e84da15b37 fix predicates doc type error (#229) 2019-12-11 07:39:14 +02:00
Ariel Mashraki
8f3f496308 doc: fix example link in edges doc 2019-12-09 09:31:18 +02:00
Alex Snast
b34c955739 ent/entc: adding NonNegative predicate to signed int types
Summary: Pull Request resolved: https://github.com/facebookincubator/ent/pull/179

Reviewed By: a8m

Differential Revision: D18617566

fbshipit-source-id: ab5ced97836d05ee5936b39f571063cf618b3481
2019-11-20 10:11:58 -08:00
Ariel Mashraki
559f163abe all: add postgres to docs
Reviewed By: alexsn

Differential Revision: D18245079

fbshipit-source-id: d4f59d88fe2125d924bfb85521fa43898ea5ce35
2019-10-31 06:31:21 -07:00
Ariel Mashraki
17cd619c2a doc: add missing import to fields example
Reviewed By: alexsn

Differential Revision: D18058307

fbshipit-source-id: 752b8dc1c5f97947ce59d79c1ed27e57b2a216f7
2019-10-22 01:31:29 -07:00
Ariel Mashraki
0f262a9c69 ent/doc: add algolia search to website
Summary: {F218025048}

Reviewed By: alexsn

Differential Revision: D17977453

fbshipit-source-id: e94716558f8f87f817a3bcf29a776549d7bcd0a3
2019-10-17 02:06:38 -07:00
Ariel Mashraki
e75a817d63 ent/doc: better installation instructions
Reviewed By: alexsn

Differential Revision: D17950790

fbshipit-source-id: d7517768bdfcc2eff8a5d900943a61ea2359d91b
2019-10-16 04:30:16 -07:00
Ariel Mashraki
c5b790043c entc: change the way we inject additional fields (#1560)
Summary:
Pull Request resolved: https://github.com/facebookexternal/fbc/pull/1560

Pull Request resolved: https://github.com/facebookincubator/ent/pull/96

Reviewed By: alexsn

Differential Revision: D17931147

fbshipit-source-id: 24e1d72be482cb787c557f46feeb2ed4a31dfe60
2019-10-15 12:00:46 -07:00
Ariel Mashraki
2c8d7fcc8b ent/doc: add custom predicate exmaple
Reviewed By: alexsn

Differential Revision: D17926144

fbshipit-source-id: 5390585bf634aecfad86a729db6e633c4a7e6f5e
2019-10-15 06:42:44 -07:00
Ariel Mashraki
9521000534 doc: add examples for custom sql.DB and opencensus
Reviewed By: alexsn

Differential Revision: D17853894

fbshipit-source-id: bdceae27fe12bcf8bde877c51472efe7bd2b2bd6
2019-10-10 05:02:59 -07:00
Chandan Rai
a3e6333b2a corrected minor typo
Summary: Pull Request resolved: https://github.com/facebookincubator/ent/pull/77

Differential Revision: D17809443

Pulled By: a8m

fbshipit-source-id: fc9e86bc252e0cecaadd54a8a9da05845580bff5
2019-10-08 07:22:37 -07:00