Ariel Mashraki
e8e4401d27
dialect/sqltest: use postgres dialect in predicate tests
2021-11-03 13:39:39 +02:00
Ariel Mashraki
02203c3f91
dialect/sqltest: ensure predicates can be reused
2021-11-02 23:01:11 +02:00
Ariel Mashraki
924de2d341
website/blog: minor typo change
2021-11-02 14:35:57 +02:00
Ariel Mashraki
d0118b2da2
website/blog: sync objects in external databases
2021-11-02 14:04:02 +02:00
Alexander Melentyev
147b1f59ae
all: small typo fixes ( #2095 )
2021-11-01 17:47:06 +02:00
Alexander Melentyev
681d03e896
entc/gen: fix DependencyName godoc ( #2094 )
2021-10-30 22:51:15 +03:00
Ariel Mashraki
51b63c17c0
entc/gen: fix module version extraction when running entc as a package
2021-10-29 09:13:16 +03:00
allcontributors[bot]
59069b7449
docs: add JeremyV2014 as a contributor for code ( #2087 )
...
* 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>
2021-10-28 21:35:57 +03:00
dependabot[bot]
b308091ed6
build(deps): bump ws from 6.2.1 to 6.2.2 in /doc/website ( #2079 )
...
Bumps [ws](https://github.com/websockets/ws ) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/6.2.1...6.2.2 )
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-28 11:10:48 +03:00
dependabot[bot]
ec676018b9
build(deps): bump url-parse from 1.5.1 to 1.5.3 in /doc/website ( #2078 )
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3 )
---
updated-dependencies:
- dependency-name: url-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-28 11:10:09 +03:00
dependabot[bot]
adb4c4951e
build(deps): bump dns-packet from 1.3.1 to 1.3.4 in /doc/website ( #2077 )
...
Bumps [dns-packet](https://github.com/mafintosh/dns-packet ) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases )
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4 )
---
updated-dependencies:
- dependency-name: dns-packet
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-28 11:08:50 +03:00
dependabot[bot]
6759de9980
build(deps): bump path-parse from 1.0.6 to 1.0.7 in /doc/website ( #2076 )
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-28 11:08:38 +03:00
dependabot[bot]
51bed1009f
build(deps): bump normalize-url from 4.5.0 to 4.5.1 in /doc/website ( #2075 )
...
Bumps [normalize-url](https://github.com/sindresorhus/normalize-url ) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/sindresorhus/normalize-url/releases )
- [Commits](https://github.com/sindresorhus/normalize-url/commits )
---
updated-dependencies:
- dependency-name: normalize-url
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-28 11:08:27 +03:00
Ariel Mashraki
909d24cfc4
entc/gen: support merging dep annotations
...
This will make it possible to get dependencies
from external extensions.
2021-10-28 11:08:05 +03:00
allcontributors[bot]
4f331e0090
docs: add heliumbrain as a contributor for doc ( #2084 )
2021-10-28 07:51:25 +03:00
heliumbrain
b2367f2bf0
doc/md: fix typo in tutorial-grpc-generating-proto.md ( #2082 )
...
Found a VERY TINY typo when going through the gRPC tutorial :)
2021-10-28 07:48:03 +03:00
dependabot[bot]
49aa38a974
build(deps): bump immer from 8.0.1 to 9.0.6 in /doc/website ( #2073 )
...
Bumps [immer](https://github.com/immerjs/immer ) from 8.0.1 to 9.0.6.
- [Release notes](https://github.com/immerjs/immer/releases )
- [Commits](https://github.com/immerjs/immer/compare/v8.0.1...v9.0.6 )
---
updated-dependencies:
- dependency-name: immer
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-27 15:00:40 +03:00
Ariel Mashraki
6538efe71d
doc/md: entc config example for codegen ( #2074 )
2021-10-27 14:24:41 +03:00
Ariel Mashraki
3d0e648356
website: upgrade docusaurus and improve announcement bar
2021-10-27 14:13:00 +03:00
Alexander Melentyev
56016d56d6
entc/gen: remove unused named return ( #2069 )
2021-10-27 12:37:47 +03:00
Jeffrey Stiles
a98798ebbc
doc/tutorial: update todo-gql-mutation-input example ( #2063 )
...
* Update tutorial-todo-gql-mutation-input.md
Make example code match latest changes to https://github.com/a8m/ent-graphql-example :
- Renaming fields that accept IDs on mutation_inputs (including https://github.com/a8m/ent-graphql-example/pull/5 )
- Removing duplicate fields when edge fields are used (https://github.com/a8m/ent-graphql-example/pull/3 )
* Update tutorial-todo-gql-mutation-input.md
Add back the accidental removal of `$input` variable declaration.
2021-10-27 08:18:06 +03:00
Ariel Mashraki
4d1fceb976
doc/codegen: add doc and example for external dependencies.
...
See #2066
2021-10-27 08:16:20 +03:00
Ariel Mashraki
82eeeb5a1c
entc/gen: introduce the entc.Dependency option
2021-10-26 20:33:04 +03:00
Ariel Mashraki
5bbd973ffa
doc/graphql: replace templates with extensions ( #2064 )
2021-10-25 07:52:04 +03:00
Andrey Elenskiy
62d64f2b78
dialect/sql/sqlgraph: use selector's column instead of table's column in HasNeighbors ( #2060 )
...
Allows for HasNeighbors' selector to be a generic selector instead of *SelectTable.
A use case for this is doing HasNeighbors* function on materialized queries instead
of on concrete tables only.
2021-10-25 07:46:54 +03:00
Ariel Mashraki
a1f6de2793
dialect/sql: escape special characters in pattern matching
...
Resources:
- https://www.postgresql.org/docs/current/functions-matching.html\#FUNCTIONS-LIKE
- https://www.sqlite.org/lang_expr.html\#the_like_glob_regexp_and_match_operators
- https://dev.mysql.com/doc/refman/8.0/en/string-literals.html
Fixed https://github.com/ent/ent/issues/2059
2021-10-24 21:14:26 +03:00
Ariel Mashraki
4919889eb4
doc/fields: add example for json default values
2021-10-22 16:09:25 +03:00
Ariel Mashraki
e687246f7a
schema/field: support default values for json and other
2021-10-21 22:57:04 +03:00
Hila Kashai
5c76254b5c
doc/extension: add popular extensions ( #2054 )
...
* add popular extensions
* edit popular extensions
* Apply suggestions from code review
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com >
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com >
2021-10-21 17:30:40 +03:00
Ariel Mashraki
963bd669fd
dialect/sql: add example to SIMILAR TO predicate ( #2055 )
2021-10-21 12:01:58 +03:00
Rotem Tamir
8c752862cf
website/blog: sqlcomment share photo ( #2051 )
2021-10-20 14:56:35 +03:00
Ariel Mashraki
d199a7c267
website/blog: fix sqlcomment post title
2021-10-20 14:13:46 +03:00
Rotem Tamir
ccd6e9f18b
Update 2021-10-19-sqlcomment-support-for-ent.md ( #2050 )
...
* Update 2021-10-19-sqlcomment-support-for-ent.md
* Update 2021-10-19-sqlcomment-support-for-ent.md
2021-10-20 13:56:07 +03:00
Amit Shani
6b293968c1
ent/blog: sqlcomment post by hedwigz ( #2043 )
...
* ent/blog: sqlcomment blog post
* ent/blog: rev 2
* Update doc/website/blog/2021-10-19-sqlcomment-support-for-ent.md
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com >
* Update doc/website/blog/2021-10-19-sqlcomment-support-for-ent.md
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com >
* Update doc/website/blog/2021-10-19-sqlcomment-support-for-ent.md
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com >
* Update doc/website/blog/2021-10-19-sqlcomment-support-for-ent.md
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com >
* Update doc/website/blog/2021-10-19-sqlcomment-support-for-ent.md
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com >
* ent/blog: fix image link
* dashboard example image
* ent/blog: replace dashboard example
* ent/blog: fix syntax error
* ent/blog: fix broken link
* ent/blog: fix markdown snippet
* ent/blog: some minors
* Update doc/website/blog/2021-10-19-sqlcomment-support-for-ent.md
Co-authored-by: Hila Kashai <73284641+hilakashai@users.noreply.github.com >
* Update doc/website/blog/2021-10-19-sqlcomment-support-for-ent.md
Co-authored-by: Hila Kashai <73284641+hilakashai@users.noreply.github.com >
* Update doc/website/blog/2021-10-19-sqlcomment-support-for-ent.md
Co-authored-by: Hila Kashai <73284641+hilakashai@users.noreply.github.com >
* Update doc/website/blog/2021-10-19-sqlcomment-support-for-ent.md
Co-authored-by: Hila Kashai <73284641+hilakashai@users.noreply.github.com >
* Update doc/website/blog/2021-10-19-sqlcomment-support-for-ent.md
Co-authored-by: Hila Kashai <73284641+hilakashai@users.noreply.github.com >
* Update doc/website/blog/2021-10-19-sqlcomment-support-for-ent.md
Co-authored-by: Hila Kashai <73284641+hilakashai@users.noreply.github.com >
* Update doc/website/blog/2021-10-19-sqlcomment-support-for-ent.md
Co-authored-by: Giau. Tran Minh <giau.tmg@gmail.com >
* ent/blog: fix tutorial snippet
* Update doc/website/blog/2021-10-19-sqlcomment-support-for-ent.md
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com >
* Update doc/website/blog/2021-10-19-sqlcomment-support-for-ent.md
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com >
* Update doc/website/blog/2021-10-19-sqlcomment-support-for-ent.md
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com >
* Update doc/website/blog/2021-10-19-sqlcomment-support-for-ent.md
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com >
* Update doc/website/blog/2021-10-19-sqlcomment-support-for-ent.md
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com >
Co-authored-by: Hila Kashai <73284641+hilakashai@users.noreply.github.com >
Co-authored-by: Giau. Tran Minh <giau.tmg@gmail.com >
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com >
2021-10-20 13:39:53 +03:00
dependabot[bot]
2305b15727
build(deps): bump github.com/mattn/go-sqlite3 from 1.14.8 to 1.14.9 ( #2049 )
...
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3 ) from 1.14.8 to 1.14.9.
- [Release notes](https://github.com/mattn/go-sqlite3/releases )
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.8...v1.14.9 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-sqlite3
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>
2021-10-20 10:30:08 +03:00
Hila Kashai
f32957e81a
.github: fix typo in bug template ( #2047 )
2021-10-20 09:40:10 +03:00
Hila Kashai
d6ebb40f03
.github/issues: add link to ent/bug ( #2045 )
2021-10-19 18:35:35 +03:00
Ariel Mashraki
535e61fc4f
.github: update issue template
2021-10-19 17:42:25 +03:00
Lenu Gan
2f0d9de45f
doc/faq: add read-write separation example ( #2032 )
2021-10-19 15:45:31 +03:00
dependabot[bot]
0a6de9457f
build(deps): bump actions/checkout from 2.3.4 to 2.3.5 ( #2038 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2.3.4...v2.3.5 )
---
updated-dependencies:
- dependency-name: actions/checkout
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>
2021-10-19 15:44:14 +03:00
Ariel Mashraki
aa8d2ecb58
entc/gen/integ: add example for using query modifiers in multischema mode
2021-10-18 18:52:44 +03:00
Amit Shani
2c9a175f06
website/blog/entviz: add import on entc.go snippet ( #2040 )
...
* blog/entviz: add import on entc.go snippet
* Update doc/website/blog/2021-08-26-visualizing-your-data-graph-using-entviz.md
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com >
* blog/entviz: full code snippet for `entc.go`
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com >
2021-10-18 12:31:08 +03:00
Ariel Mashraki
3e6c40886d
entc/gen: support count with field selection
...
Fixed https://github.com/ent/ent/issues/2036
2021-10-17 19:03:49 +03:00
Ariel Mashraki
732b2a7d6e
website/blog: minor fix to the entcache post
2021-10-14 23:13:01 +03:00
Ariel Mashraki
5646717544
website/blog: introducing entcache post ( #2034 )
2021-10-14 21:33:26 +03:00
Ariel Mashraki
899e9f0e50
dialect/sql: wraps the sql.Rows with ColumnScanner interface
2021-10-14 09:32:30 +03:00
Ariel Mashraki
123930c362
entc/integ: add example for o2o with edge field
2021-10-12 20:54:23 +03:00
Rotem Tamir
960aac547a
doc/blog: removing uneeded colon from title
2021-10-12 16:53:05 +03:00
Zeev Manilovich
a80349d61a
doc/website/blog: post about importing database schema to ent - using entimport ( #2026 )
2021-10-12 15:58:03 +03:00
allcontributors[bot]
efba15f6a7
docs: add mookjp as a contributor for code ( #2027 )
...
* 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>
2021-10-12 10:30:41 +03:00