Commit Graph

518 Commits

Author SHA1 Message Date
Ariel Mashraki
9020d2b961 doc/versioned: mention the globalid option in migrate-diff (#3350) 2023-02-25 21:10:17 +02:00
Noam Cattan
a151f7cb27 doc/md: update versioned-migrations (#3341)
* Update versioned-migrations.mdx

* Update versioned-migrations.mdx
2023-02-24 09:55:37 +02:00
Ariel Mashraki
71e31bc0d7 doc: add entgql.MultiOrder annotation (#3342) 2023-02-22 19:50:21 +02:00
Rotem Tamir
eeccc754d3 doc/md: updating versioned migrations tutorial (#3334)
* doc/md: updating versioned migrations tutorial

* Apply suggestions from code review

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

---------

Co-authored-by: Hila Kashai <73284641+hilakashai@users.noreply.github.com>
2023-02-20 17:10:10 +02:00
Ariel Mashraki
4432754144 doc: add migrate diff command to in-depth section (#3330) 2023-02-19 16:39:02 +02:00
Ariel Mashraki
639e1093a0 doc: upadte migrate diff command (#3329)
* doc: upadte migrate diff command

* Update doc/md/components/_installation_instructions.mdx

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

* Update doc/md/getting-started.mdx

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

* Update doc/md/getting-started.mdx

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

* Update doc/md/getting-started.mdx

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

* Update doc/md/getting-started.mdx

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

* Update doc/md/getting-started.mdx

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

* Update doc/md/getting-started.mdx

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

* Update doc/md/getting-started.mdx

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

* Update doc/md/getting-started.mdx

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

* Update doc/md/getting-started.mdx

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

* Update doc/md/versioned-migrations.mdx

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

* Update doc/md/versioned-migrations.mdx

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

---------

Co-authored-by: Hila Kashai <73284641+hilakashai@users.noreply.github.com>
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com>
2023-02-19 16:20:59 +02:00
Rotem Tamir
e671138bb8 doc/md/tutorial: ext grpc service example (#3323) 2023-02-16 23:57:15 +02:00
Giau. Tran Minh
f4bdc36e85 cmd/ent: rename init to new (#3311)
* cmd: rename init to new

Signed-off-by: Giau. Tran Minh <hello@giautm.dev>

* doc: update guide to use new command

Signed-off-by: Giau. Tran Minh <hello@giautm.dev>

---------

Signed-off-by: Giau. Tran Minh <hello@giautm.dev>
2023-02-12 13:56:18 +02:00
Noam Cattan
cf2428d49a doc: add an instruction to create a migrations directory (#3308)
* Update versioned-migrations.mdx

* Update versioned-migrations.mdx
2023-02-07 16:25:06 +02:00
KaiserBh
9881f575ce doc/graphql: fix typo (#3299) 2023-02-06 11:17:18 +02:00
Omar Kohl
331ec4e3ce doc/md: fix broken privacy.md links (#3296)
privacy.md was renamed to privacy.mdx in commit f226627d67.

When trying to click on one of the 'privacy' links on the features page
you get the following error:

    <Error>
    <Code>AccessDenied</Code>
    <Message>Access Denied</Message>
    <RequestId>15DQ15S3VAEQA8PW</RequestId>
    <HostId>
    HxNShnveIK1dyPbqjFK/v7/x/VqKyysl4XWBPiEr75PgLkjl0CZjWN0PRzQcFMI0uZWPOpHS49Q=
    </HostId>
    </Error>
2023-02-03 14:11:45 +02:00
Ariel Mashraki
d11122592a entc/gen: add support for UpdateOne with predicates (#3286) 2023-01-29 13:09:16 +02:00
Aman Bansal
ec7af8774c doc/md: updated comment in crud api update many section (#3285) 2023-01-29 09:30:19 +02:00
Ariel Mashraki
433609444c dialect/sql/sqljson: support for order by value and length (#3278) 2023-01-26 12:20:31 +02:00
Ariel Mashraki
d66350ae40 entc/gen: add support for DeleteOne with predicates (#3271)
Also, fixed a bug in DeleteOne.Exec where it was skipping NotFoundError
2023-01-24 15:10:20 +02:00
Ariel Mashraki
307eb5e30b doc/edges: add erds to examples (#3268) 2023-01-23 15:53:33 +02:00
Ariel Mashraki
6db3e0a59b entc/load: better error reporting for import cycles (#3266) 2023-01-22 18:36:22 +02:00
Ariel Mashraki
a85377846f doc/versioned: more examples on how to install and execute migrate lint (#3249) 2023-01-17 16:30:27 +02:00
Ariel Mashraki
c5e08f20c1 doc/interceptors: document ent.QueryContext usage 2023-01-14 22:47:54 +02:00
Henrique Corrêa
efa74d81fc doc/md: fix two broken links on dialects.md (#3228) 2023-01-10 18:52:22 +02:00
Ido Salomon
861532c350 doc/md: fix broken link to Field Collection tutorial (#3216) 2023-01-09 00:09:08 +07:00
Tetsuya Yamamoto
19670ad4b5 doc: fix typo annotation to annotations in schema-indexes (#3215) 2023-01-08 15:27:40 +02:00
Journey K
c07eff2260 doc: fix typo in versioned migrations instructions(#3200) 2023-01-01 08:53:52 +02:00
Shani
1a0ffe6441 doc: change newsletter link to Substack (#3195)
Co-authored-by: Shani Cohen <shanicohen@Shanis-MacBook-Air.local>
2022-12-28 10:58:55 +02:00
Ariel Mashraki
c868f4a174 doc: add entsql.WithComments annotation (#3192) 2022-12-26 16:56:49 +02:00
Dany Henriquez
038cc0cace Fix documentation (Remove deprecated call) (#3181) 2022-12-22 12:21:26 +02:00
Ariel Mashraki
33478c5fca examples/jsonencode: skip nodes without edges in template (#3187) 2022-12-21 15:43:51 +02:00
Ariel Mashraki
92bacc10e4 entc/gen: add typed traversers and interceptors (#3182) 2022-12-20 11:12:19 +02:00
Yoni Davidson
4e662b9e51 doc/md: update join community page (#3178) 2022-12-19 15:18:53 +02:00
Giau. Tran Minh
2d01111f48 doc/md: create edges with mutation (#3170)
* doc/md: create edges with mutation

Signed-off-by: Giau. Tran Minh <hello@giautm.dev>

* fix: move new content to the end

Signed-off-by: Giau. Tran Minh <hello@giautm.dev>

* chore: apply suggestions from code review

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

Signed-off-by: Giau. Tran Minh <hello@giautm.dev>
Co-authored-by: Hila Kashai <73284641+hilakashai@users.noreply.github.com>
2022-12-19 15:12:28 +02:00
Ariel Mashraki
f226627d67 ent: export query interceptors (#3157) 2022-12-19 10:17:10 +02:00
Bumsik Kim
d5aa8d20f8 doc: tutorial typo fix (#3153)
* doc/md: Fix import path in example

* doc/md: Fix old contrib package doc path
2022-12-08 08:47:20 +02:00
mori yuta
b3ef46d768 doc: fix typo on versioned migration tutorial (#3139)
* fix typo

codegn -> code-gen

* Update doc/md/versioned/07-verifying-safety.md

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
2022-12-07 11:52:35 +02:00
Ariel Mashraki
3f1d7c960e example: add jsonencode using extension (#3142) 2022-12-04 10:38:23 +02:00
mori yuta
f40fff0f5c doc/md: corrected design deviations in the text. (#3138) 2022-12-03 08:35:08 +07:00
VTRyo
bc931edddf doc/md: change example file path (#3124) 2022-11-27 14:36:38 +02:00
Ariel Mashraki
f7109f0274 dialect/sql/schema: make WriteDriver friendlier (#3119)
Also, add a guide for writing and executing data migrations files.
2022-11-27 13:27:15 +02:00
Karsten Köhler
05de3fb096 doc/md: fix typo in Atlas link (#3116) 2022-11-26 11:14:05 +02:00
Ariel Mashraki
2d980550db doc/edges: document the new edges behavior 2022-11-20 17:37:08 +02:00
Rotem Tamir
a5aadd7737 doc/md/versioned: fixes to tutorial (#3102) 2022-11-17 11:04:53 +02:00
Rotem Tamir
cd60f84853 doc/md/versioned: upgrading to versioned migrations (#3095) 2022-11-16 10:59:06 +02:00
Ariel Mashraki
8a8c72f377 example/migration: improve atlas migration example (#3092) 2022-11-14 13:58:35 +02:00
Ariel Mashraki
25021635a0 doc/fields: document default values using annotations 2022-11-12 14:38:33 +02:00
Ariel Mashraki
b86bc12db9 doc: document custom index operator classes (#3079) 2022-11-09 20:50:45 +02:00
Ariel Mashraki
1d957101fc doc/aggregate: add examples for <T>Query.Aggregate 2022-10-23 09:50:23 +03:00
Satoshi Morita
d17c28bee0 doc: update tutorial-todo-gql-field-collection.md (#3021)
refs: https://github.com/ent/contrib/pull/385
2022-10-17 13:55:37 +03:00
Cyril Brulebois
9ff209d1f3 doc: remove executable flag for md, mdx, png, js, and .gitignore files (#3015)
Spotted by lintian running against a Debian package: the executable flag
is strange for all those files in the doc directory.
2022-10-16 16:47:56 +03:00
Ariel Mashraki
a26e21ff6a doc: update sqlite migration section (#2999)
Closed https://github.com/ent/ent/issues/2997
2022-10-09 14:54:53 +03:00
allcontributors[bot]
0b38ce8bf1 add kortschak as a contributor for doc (#2978) 2022-09-30 09:09:38 +03:00
Dan Kortschak
7d3d898f60 doc/md: various improvements to gRPC tutorial (#2977) 2022-09-30 08:59:53 +03:00