Commit Graph

697 Commits

Author SHA1 Message Date
Jannik Clausen
fc03c8d283 doc/md: add note about versioned migration tool support requiring latest master (#2537) 2022-05-10 08:52:09 +02:00
Giau. Tran Minh
d8fdf3b512 doc/md: update GQL tutorial with schema generator (#2528)
* doc/md: update GQL tutorial

fixed the connections to Non-Null
fixed the name of WithWhereInputs()

* doc/md: initial Schema Generator tutorial

* update the tutorial

* fix: correct the line

* doc/md: apply suggestions from code review

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

* doc/md: add more doc about `entgql.RelayConnection()`

Co-authored-by: Hila Kashai <73284641+hilakashai@users.noreply.github.com>
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
2022-05-09 18:09:21 +03:00
Jannik Clausen
63a2836ef2 doc/website/blog: share image to sum file blog post (#2534) 2022-05-09 16:17:06 +02:00
Jannik Clausen
b1ceb0a55a doc/website/blog: fix document name (#2533) 2022-05-09 15:48:44 +02:00
Jannik Clausen
4142108d62 doc/website/blog: external tools and sum file (#2489)
* doc/website/blog: external tools and sum file

* Apply suggestions from code review

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

* doc/website/blog: apply CR

* Apply suggestions from code review

Co-authored-by: Hila Kashai <73284641+hilakashai@users.noreply.github.com>

* doc/website/blog: minor fixes

* doc/website/blog: invoke atlas command by calling go run

* doc/website/blog: It's-a me, Jannik!

* Apply suggestions from code review

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

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
Co-authored-by: Hila Kashai <73284641+hilakashai@users.noreply.github.com>
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com>
2022-05-09 15:23:51 +02:00
Ariel Mashraki
91ba0c7cea doc/website: minor css fixes (#2532) 2022-05-09 13:20:45 +03:00
Giau. Tran Minh
429a5e5d91 doc/md: update Discord server invite link (#2530) 2022-05-07 08:55:27 +03:00
allcontributors[bot]
2fe8e053c1 docs: add booleangate as a contributor for code (#2526)
* 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>
2022-05-05 11:20:50 +03:00
Amit Shani
4ac82f5bb3 doc/md: tidb tested on v6.0.0 (#2502)
* doc/md: tidb tested on v6.0.0

* up atlas
2022-05-02 14:30:20 +03:00
Ariel Mashraki
dab95be855 doc/md: example and test for migration apply hooks (#2514) 2022-05-02 14:25:22 +03:00
Pedro Henrique
9d992c4f41 doc/md: document custom graphql where filters (#2507)
* doc/md: document custom where filters

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

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
2022-04-29 12:49:29 +03:00
Ariel Mashraki
04e0dc936b entc/integration/migrate: add example for renaming columns (#2496) 2022-04-24 22:36:33 +03:00
MasseElch
2c8e58ce94 entc/gen: skip Table() predicate and warn about reserved schema name (Client) (#2486)
* entc/gen: do no generate `Table()` predicate and warn the user in case of reserved schema name like `Client`.

* doc/md: document reserved schema name

* doc/md: revert reserved schema name as this was already working

* doc/md: rephrase
2022-04-20 16:30:59 +02:00
Thomas Meitz
4e1affecbc doc/md - added usage note for golang-migrate (#2482)
* docs - added note for golang-migrate

* remove .vscode directory

* changed as proposed
2022-04-20 08:39:52 +02:00
MasseElch
f7a7da675f doc/md: document atlas sum file usage (#2471)
* doc/md: document atlas sum file usage

* doc/md: apply CR

* doc/md: elaborate and images
2022-04-19 08:58:07 +02:00
allcontributors[bot]
6ce239cd39 docs: add thmeitz as a contributor for code, doc (#2483) 2022-04-18 21:39:41 +03:00
Amit Shani
72e454e5fc doc/md: versioned migration typo fix (#2481) 2022-04-18 16:11:13 +03:00
Amit Shani
f1ea8def89 doc/md: fix typo (#2480) 2022-04-18 15:52:14 +03:00
MasseElch
89dc83887c doc/md: document usage of atlas supported migration tools (#2467)
* doc/md: document usage of atlas supported migration tools

* dialect/sql/schema: fix tests
2022-04-13 12:47:00 +02:00
dorlib
3683de1d36 doc/md: simplify graphql mutation usage (#2464) 2022-04-09 20:59:55 +03:00
Amit Shani
5ee0a475e4 website/blog: enthistory fix typo (#2458)
* doc/blog: enthistory fix

* fix typo
2022-04-07 17:38:27 +03:00
Amit Shani
cf0b8560bc doc/blog: enthistory fix (#2457) 2022-04-07 17:23:46 +03:00
Amit Shani
dec2216cb9 website/blog: enthistory blog post (#2456)
* doc/blog: enthistory blog post

* Apply suggestions from code review

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

* add maria example and longer SQL

* code style

* row -> field

* show off enthistory first

* minor

* CR

* closing content on tech explain

* assets

* title

* Update doc/website/blog/2022-04-07-how-twitter-can-implement.md

Co-authored-by: Hila Kashai <73284641+hilakashai@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Hila Kashai <73284641+hilakashai@users.noreply.github.com>

* Update doc/website/blog/2022-04-07-how-twitter-can-implement.md

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

* Update doc/website/blog/2022-04-07-how-twitter-can-implement.md

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

* Update doc/website/blog/2022-04-07-how-twitter-can-implement.md

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

* Apply suggestions from code review

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

* CR

* Update doc/website/blog/2022-04-07-how-twitter-can-implement.md

Co-authored-by: Hila Kashai <73284641+hilakashai@users.noreply.github.com>

* share image

Co-authored-by: MasseElch <12862103+masseelch@users.noreply.github.com>
Co-authored-by: Hila Kashai <73284641+hilakashai@users.noreply.github.com>
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
2022-04-07 17:19:52 +03:00
Ariel Mashraki
d92984f744 doc/website: add sql/execquery feature-flag to document (#2453) 2022-04-06 14:10:33 +03:00
allcontributors[bot]
4f17a84dfa docs: add CharlesGe129 as a contributor for code (#2451)
* 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>
2022-04-06 09:47:34 +02:00
Clarence
21ea376817 update example import (#2432) 2022-03-31 12:55:54 +02:00
Ariel Mashraki
cb7e0c1f1b doc/tutorial: add title with file names to code blocks (#2430) 2022-03-26 18:49:04 +03:00
allcontributors[bot]
a89d1ec40f docs: add iwata as a contributor for doc (#2427)
* 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>
2022-03-25 16:17:06 +01:00
Motonori Iwata
e1e47e61f3 Write a document for custom formatter of migrate (#2415)
* Write a document for custom formatter of migrate

closes https://github.com/ent/ent/issues/2408

* Update doc/md/versioned-migrations.md

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

* Update doc/md/versioned-migrations.md

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

* more helpful code snippet

* Update doc/md/versioned-migrations.md

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

* Update doc/md/versioned-migrations.md

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

* Update doc/md/versioned-migrations.md

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

Co-authored-by: MasseElch <12862103+masseelch@users.noreply.github.com>
2022-03-25 16:13:22 +01:00
Amit Shani
71020f8d7b doc/website/blog: tidb indentation fix (#2423) 2022-03-24 15:07:38 +02:00
Ariel Mashraki
55ed0508c7 doc: minor impronments to getting-started (#2422) 2022-03-24 12:42:57 +02:00
Frédéric G. MARAND
938233b191 doc: update installation in getting-started (#2414)
since Go 1.18 `go get` is no longer the way to download a command for any supported version: updated to use go install instead.
2022-03-20 11:47:06 +02:00
Frédéric G. MARAND
0d9173c0b9 doc: update schema-def to use proper method (#2416)
The exemple incorrectly adds an ignored `User.Index` method, although ent actually needs a `User.Indexes` method as part of `ent.Interface`
2022-03-20 11:46:06 +02:00
Rotem Tamir
865ddb8d47 doc/website/blog: small fixes 2022-03-17 14:54:57 +02:00
Amit Shani
683fe8cc3b doc/website/blog: TiDB announcement (#2396) 2022-03-17 14:42:15 +02:00
Ariel Mashraki
9bb800105d doc/hook: additional example for rejecting op (#2407) 2022-03-16 16:09:04 +02:00
Ariel Mashraki
3f0b0856fd entc/integration: additional schema changes for migration (#2403) 2022-03-15 18:32:38 +02:00
MasseElch
41db628df3 doc/website/blog: versioned migrations (#2387)
* doc/md: clarify when feature flag is needed for versioned migrations

* doc/website/blog: introduction

* doc/md: more blog post

* Apply suggestions from code review

Co-authored-by: Hila Kashai <73284641+hilakashai@users.noreply.github.com>

* doc/website/blog: move explanation about versioned migration purpose up

* doc/website/blog: apply CR

* doc/website/blog: reword desription of versioned migrations

* doc/website/blog: typos

* doc/website/blog: last minute changes pre publish

Co-authored-by: Hila Kashai <73284641+hilakashai@users.noreply.github.com>
2022-03-14 14:47:13 +01:00
MasseElch
2853afc1dc dialect/sql/schema: add method to create a named versioned migration … (#2385)
* dialect/sql/schema: add method to create a named versioned migration file

* doc/md: documentation for named versioned migrations

* entc/gen/template/dialect/sql/feature: add NamedDiff method to create named versioned migration files

* all: go generate

* doc/md: apply CR
2022-03-10 16:40:57 +01:00
allcontributors[bot]
342088fcce docs: add maorlipchuk as a contributor for code (#2381) 2022-03-08 23:32:13 +02:00
allcontributors[bot]
a1a7cd8114 docs: add imhuytq as a contributor for code (#2378)
* 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>
2022-03-07 10:19:30 +01:00
MasseElch
8f213a4d4f doc/website/blog: ogent is using main instead of master (#2367) 2022-02-28 09:34:24 +01:00
MasseElch
b17aa2245f doc/md: prettier URL for versioned migrations doc part 2 (#2361) 2022-02-24 08:30:46 +01:00
MasseElch
5ff2256e10 doc/md: prettier URL for versioned migrations doc (#2360) 2022-02-24 08:18:24 +01:00
Ariel Mashraki
feac4d8536 doc/indexes: add annotations supported by atlasgo.io 2022-02-22 16:55:07 +02:00
MasseElch
d80f7cc41a entc/gen: singularize feature flag name for versioned migrations (#2350) 2022-02-21 20:06:32 +01:00
MasseElch
d53b271917 doc/md: fix typos in versioned migrations (#2349) 2022-02-21 19:30:44 +01:00
Pedro Henrique
4949991ca6 doc/website: change footer title color (#2348) 2022-02-21 19:13:02 +02:00
MasseElch
59c6702e12 doc/md: versioned migrations (#2345)
* doc/md: versioned migrations

* doc/md: move to own page

* doc/md: add example for migrations from graph

* doc/md: add image

* Apply suggestions from code review

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

* doc/md: format examples

* doc/md: mention versioned migrations in offline migration

* doc/md: add instructions how to run a main.go file

* doc/md: add instructions how to move from auto migrate to versioned migration

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
2022-02-21 17:56:02 +01:00
allcontributors[bot]
f5a5a6ef0e docs: add tprebs as a contributor for code (#2343)
* 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>
2022-02-18 17:09:10 +02:00