Commit Graph

539 Commits

Author SHA1 Message Date
Ariel Mashraki
0508677ce7 cmd/ent: hide the --idtype flag from generate command (#3490)
The --idtype flag predates the field.<Type>(id) option.
See, https://entgo.io/docs/schema-fields\#id-field.
2023-04-18 15:54:14 +03:00
Ariel Mashraki
0d1257f5f2 doc: add entgql edge ordering (#3482) 2023-04-16 11:13:46 +03:00
Giau. Tran Minh
36d16536ea doc/md: update doc for OnDelete annotation (#3460)
Signed-off-by: Giau. Tran Minh <hello@giautm.dev>
2023-04-10 00:21:25 +07:00
Ariel Mashraki
bb30c098a2 doc: fix typos in paging.md (#3458) 2023-04-09 17:12:41 +03:00
Ariel Mashraki
ba51a5990e doc: change latest ent version (#3457) 2023-04-09 15:25:41 +03:00
Ariel Mashraki
5b1de3901a doc: update ordering fluent api (#3456) 2023-04-09 15:00:16 +03:00
Sasha Melentyev
6165bdea32 doc: update pgx version in example (#3451)
Signed-off-by: Sasha Melentyev <sasha@melentyev.io>
2023-04-08 18:17:39 +03:00
Rotem Tamir
00e9bba974 doc/md: update protoc plugin installation instructions (#3450) 2023-04-08 16:03:36 +03:00
Yosep
b26c2fe1bc doc: fix typos in tutorial (#3445)
Co-authored-by: yoseplee <yoseplee@linecorp.com>
2023-04-06 12:50:36 +03:00
Ariel Mashraki
4c332f7bba doc/features: add dynamic values support (#3436) 2023-04-03 17:55:28 +03:00
Noam Cattan
d143432580 doc: replace diagram examples links (#3435)
* cmd/internal: fix help message for "new" command

* doc: replace example links
2023-04-03 16:38:57 +03:00
Rotem Tamir
e685413055 doc: slack channel links (#3433) 2023-04-03 11:00:34 +03:00
Ariel Mashraki
90289b7494 dialect/sql: additional predicate helpers (#3429) 2023-04-02 13:01:36 +03:00
Zhizhen He
6f847a3492 ci: add spell checker and fix existing typo (#3420)
* ci: add spell checker and fix existing typo

* chore: move typos.toml to .github

* fix: correct config file path
2023-03-30 11:38:29 +03:00
Adam Zapaśnik
055d367984 doc/grpc: fix typo in tutorial-grpc-edges.md (#3400)
Co-authored-by: Adam Zapaśnik <adamzapasnik@users.noreply.github.com>
2023-03-19 14:14:55 +02:00
Ariel Mashraki
3f1063c77e schema/field: add support or external ValueScanner (#3391) 2023-03-16 22:18:54 +02:00
Doron Cohen
a264ffcac1 doc/md: fix multi driver missing method (#3390) 2023-03-15 14:57:14 +02:00
Michael Caulley
4a60f52cf4 doc: fix typo in privacy (#3378)
fix a typo in the privacy docs
2023-03-10 07:44:41 +02:00
Ariel Mashraki
db5adf9124 doc/faq: update the readwriter driver example (#3368) 2023-03-08 13:16:50 +02:00
Ariel Mashraki
3b7715b552 dialect/sql/schema: allow setting table comments (#3365) 2023-03-04 20:50:26 +02:00
Ariel Mashraki
9517200cb6 schema/field: fallback to native validator if not configured one (#3359) 2023-03-01 12:09:26 +02:00
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