Commit Graph

2128 Commits

Author SHA1 Message Date
Ariel Mashraki
4c332f7bba doc/features: add dynamic values support (#3436) 2023-04-03 17:55:28 +03:00
Ariel Mashraki
ba7f158a9c entc/gen: allow scanning dynamic sql values (#3432) 2023-04-03 17:07:24 +03:00
Ariel Mashraki
6065db39fa fix 2023-01-26-visualizing-with-entviz.md 2023-04-03 17:04:57 +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
abafd91b2d dialect/sql: move columns check from codegen to sql package (#3431) 2023-04-02 13:57:21 +03:00
Ariel Mashraki
90289b7494 dialect/sql: additional predicate helpers (#3429) 2023-04-02 13:01:36 +03:00
Ariel Mashraki
27bc0470eb dialect/sql/sqlgraph: add Step helpers for edge types (#3428) 2023-04-01 21:34:42 +03:00
Ariel Mashraki
60bb939fc2 dialect/sql/sqlgraph: add function to order by edge terms (#3426) 2023-04-01 20:55:00 +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
Ariel Mashraki
e3cee0adc2 dialect/sql/sqlgraph: add function to order by edge count (#3422) 2023-03-30 10:10:59 +03:00
Ariel Mashraki
651a2a166e dialect/sql: add Joined<T> helpers for Selector to avoid double joining (#3419) 2023-03-28 15:33:21 +03:00
Ariel Mashraki
427aaf7d45 dialect/sql: add Selector.HasJoins helper (#3418) 2023-03-28 14:31:43 +03:00
Ariel Mashraki
d9e7adfa05 dialect/sql/sqlgraph: catch SQLite INSERT errors executed with Driver.Query (#3415) 2023-03-27 22:21:47 +03:00
Ariel Mashraki
b435c97c99 entc/integration: move tests to a separate module (#3411) 2023-03-25 10:59:29 +03:00
Ariel Mashraki
c35f786f86 entc/gen: ensure edge-fields are selected when their edges are loaded (#3401) 2023-03-20 19:11:04 +02: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
b340ed78cf dialect/sql: append selector alias only if defined (#3399) 2023-03-19 12:07:41 +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
Ariel Mashraki
acc4c5aac6 entc/gen: remove todo from template (#3385) 2023-03-13 18:57:12 +02:00
Anton Telyshev
148f7d51a0 entc/gen: add redundant any() to withHooks to make linters work (#3360)
See https://github.com/golang/go/issues/58633 for more info.
v0.11.10
2023-03-12 11:47:07 +02:00
Ariel Mashraki
bbbedf53af entc/gen: add EqualFold and ContainsFold to string IDs (#3382) 2023-03-12 11:42:13 +02:00
Ariel Mashraki
81eb431081 schema/field: allow using JSON fields with type 'any' (#3380)
Fixed https://github.com/ent/ent/issues/3104
2023-03-10 10:20:51 +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
546789b7d5 entc/gen: minor cleaning to codegen (#3377) 2023-03-09 22:08:18 +02:00
dependabot[bot]
3d41cfdb6e build(deps): bump aws-actions/configure-aws-credentials (#3370)
Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 1.7.0 to 2.0.0.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/v1.7.0...v2.0.0)

---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 13:17:06 +02:00
Ariel Mashraki
db5adf9124 doc/faq: update the readwriter driver example (#3368) 2023-03-08 13:16:50 +02:00
Jannik Clausen
55e98b5b9b dialect/sql/schema: mock result in write driver if returning clause is present (#3369) 2023-03-07 10:43:01 +01:00
Jannik Clausen
809b22be7c dialect/sql/schema: strip returning from seed (#3367) 2023-03-07 07:46:34 +01:00
Ariel Mashraki
7e2da46e09 dialect/sql/schema: expand fmt.Stringer args in WriteDriver (#3366) 2023-03-04 23:05:16 +02:00
Ariel Mashraki
3b7715b552 dialect/sql/schema: allow setting table comments (#3365) 2023-03-04 20:50:26 +02:00
Ariel Mashraki
f16451eab8 dialect/sql/schema: allow planning with indentation (#3363) 2023-03-04 10:06:53 +02:00
Ariel Mashraki
9517200cb6 schema/field: fallback to native validator if not configured one (#3359) v0.11.9 2023-03-01 12:09:26 +02:00
Ariel Mashraki
89e2d52000 entc/gen: merge context.go contents to ent.go file (#3355) 2023-02-28 11:55:34 +02:00
Rotem Tamir
5a93d8934b doc/website/blog: fix broken page (#3354) 2023-02-27 15:45:46 +02:00
Rotem Tamir
5fd8469e8e doc/website/blog: webapp with ent (#3351) 2023-02-27 15:24:17 +02:00
dependabot[bot]
00830f7cbd build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 (#3353)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.2)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 15:03:06 +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
dependabot[bot]
d3dc7d05cd build(deps): bump golang.org/x/text from 0.3.7 to 0.3.8 (#3346)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-23 11:12:43 +02:00
Ariel Mashraki
9c40fbc07b entc/gen: fix inconsistent goimports formatting (#3344) 2023-02-22 21:29:15 +02:00
Ariel Mashraki
71e31bc0d7 doc: add entgql.MultiOrder annotation (#3342) 2023-02-22 19:50:21 +02:00
Travis Cline
4abb259989 cmd/ent: Attach Funcs for ent new templates (#3336) 2023-02-21 06:57:31 +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
Rotem Tamir
102f60ac12 cmd/internal/base: fix type on print sub-command (#3335) 2023-02-20 13:52:09 +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
Ariel Mashraki
bd6f26aa7c dialect/sql/schema: allow configuring Atlas to return ErrNoPlan (#3322) 2023-02-16 21:56:51 +02:00