dependabot[bot]
a4e718146c
build(deps): bump golang.org/x/tools from 0.1.7 to 0.1.8 ( #2203 )
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.1.7 to 0.1.8.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.1.7...v0.1.8 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
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-12-06 23:49:18 +02:00
allcontributors[bot]
2e11544cd1
docs: add peanut-cc as a contributor for doc ( #2202 )
...
* 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-12-06 08:46:48 +02:00
peanut-pg
2fa80c83c9
doc/faq: fix error format bug ( #2200 )
2021-12-06 08:44:12 +02:00
Rotem Tamir
7dba6969fa
doc/website: generate atom/rss feeds from the blog ( #2197 )
2021-12-02 17:25:57 +02:00
dependabot[bot]
37df618927
build(deps): bump github.com/mitchellh/mapstructure from 1.4.2 to 1.4.3 ( #2193 )
...
Bumps [github.com/mitchellh/mapstructure](https://github.com/mitchellh/mapstructure ) from 1.4.2 to 1.4.3.
- [Release notes](https://github.com/mitchellh/mapstructure/releases )
- [Changelog](https://github.com/mitchellh/mapstructure/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitchellh/mapstructure/compare/v1.4.2...v1.4.3 )
---
updated-dependencies:
- dependency-name: github.com/mitchellh/mapstructure
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-12-02 10:27:06 +02:00
Ariel Mashraki
fd3b29f785
entc/gen: import gen.Config documentation ( #2189 )
2021-12-01 14:41:55 +02:00
Ariel Mashraki
475e237937
dialect/sql/schema: fix bug when using multiple table CHECK constraints ( #2188 )
...
Fixed https://github.com/ent/ent/issues/2185
2021-12-01 12:00:06 +02:00
Ariel Mashraki
d432d880c7
entc/load: add go module info to schema spec ( #2175 )
2021-12-01 11:30:38 +02:00
dependabot[bot]
6e6e690c4b
build(deps): bump actions/setup-node from 2.4.1 to 2.5.0 ( #2180 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v2.4.1...v2.5.0 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-01 11:30:19 +02:00
allcontributors[bot]
f742a1db67
docs: add HurSungYun as a contributor for doc ( #2187 )
...
* 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-12-01 11:28:29 +02:00
Sungyun Hur
c023b38cdf
doc/md: fix typo in crud example ( #2186 )
2021-12-01 11:27:59 +02:00
Ariel Mashraki
a437153abc
doc/faq: change the slug for the table collation/charset example
2021-11-30 22:04:22 +02:00
allcontributors[bot]
12a3c790c3
docs: add idc77 as a contributor for doc ( #2184 )
...
* 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-11-30 22:00:13 +02:00
idc77
5c91f752b7
doc/faq: add table collation/charset example using annotation ( #2183 )
...
* update faq.md, add new question
question: How to change the character set and/or collation of a MySQL table?
* Update doc/md/faq.md
Co-authored-by: MasseElch <12862103+masseelch@users.noreply.github.com >
* Update doc/md/faq.md
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com >
Co-authored-by: MasseElch <12862103+masseelch@users.noreply.github.com >
2021-11-30 21:58:54 +02:00
allcontributors[bot]
c88cddaf81
docs: add naormatania as a contributor for code ( #2177 )
...
* 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-11-28 07:58:37 +02:00
Naor Matania
8847a1ac55
dialect/sql/schema: fix migrating Postgres fields with max character varchar custom type ( #2162 )
...
* Support migration of varying length varchar postgres
* update type
* fix type
* improve type
* remove not needed change
* fix failing test
* add inspect test
* add more tests
* go fmt
* fix pr comment
2021-11-28 07:57:57 +02:00
Ariel Mashraki
6372263b99
entc/gen: add support for subtracting values from unsgined fields ( #2169 )
2021-11-25 12:37:43 +02:00
Ariel Mashraki
b99ce66f40
dialect/sql: calling Update.Add after Update.Set should append expression ( #2168 )
2021-11-25 12:03:12 +02:00
dependabot[bot]
b3ab990952
build(deps): bump actions/cache from 2.1.6 to 2.1.7 ( #2158 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2.1.6 to 2.1.7.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2.1.6...v2.1.7 )
---
updated-dependencies:
- dependency-name: actions/cache
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-11-25 10:30:22 +02:00
Aleksandr Razumov
990684c6c8
doc: use go get -d for installation ( #2165 )
...
Installing executables with 'go get' in module
mode is deprecated.
2021-11-25 09:47:39 +02:00
Andy Day
b1e76d1a05
entc/gen: fix entql generation for ID types of Bytes, etc. ( #2157 )
...
* Fix entql generation for ID types of Bytes, etc.
I was running into an issue trying to use a Bytes fieldas the ID field in a Schema, and it appears there is an currently an issue with using a Bytes field as the ID field in the entql codegen (it was outputing a function . I belive this should fix it (I tested this by adding the entql flag to the custom id integration test). I wasn't sure if the other cases I added (e.g. an ID field that is json type / time type / etc.) are actually sane ID field types, but if those don't make any sense I can remove some of those from the added conditionals.
* remove redundant line
2021-11-24 13:53:45 +02:00
dependabot[bot]
1ef79a2d78
build(deps): bump aws-actions/configure-aws-credentials ( #2160 )
...
Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials ) from 1.5.11 to 1.6.0.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases )
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/v1.5.11...v1.6.0 )
---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-24 13:50:25 +02:00
Yoni Davidson
3cb4bc324a
doc/hooks: add example for post mutation action ( #2161 )
...
* update hooks documentation to a post hook example
* Update doc/md/hooks.md
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com >
2021-11-24 13:46:04 +02:00
mattn
2000e1970b
website/blog: update 2021-09-10-openapi-generator.md ( #2154 )
...
* Update 2021-09-10-openapi-generator.md
* Update doc/website/blog/2021-09-10-openapi-generator.md
Co-authored-by: MasseElch <12862103+masseelch@users.noreply.github.com >
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com >
Co-authored-by: MasseElch <12862103+masseelch@users.noreply.github.com >
2021-11-22 09:29:39 +02:00
Amit Shani
39a3e17e30
doc/website: remove deprecated script ( #2152 )
2021-11-21 17:07:22 +02:00
Amit Shani
21389f00ef
ent/doc: load github buttons from cdnjs ( #2151 )
2021-11-21 16:10:50 +02:00
Ariel Mashraki
9e74510c09
entc/integration: minor changes for test cases ( #2148 )
2021-11-19 15:38:49 +02:00
Jeremy Maxey-Vesperman
7a97025ae6
doc/md: fix highlighting in tutorial-grpc-service-generation-options.md ( #2146 )
2021-11-18 14:53:17 +02:00
Rotem Tamir
2e3aca1b1d
doc/md: fmt grpc methods ( #2144 )
2021-11-17 11:21:46 +02:00
Hila Kashai
6954eb3a18
doc/md: add json string predicates ( #2142 )
2021-11-16 14:08:27 +02:00
Ariel Mashraki
9e1e8472e9
doc/md: fix predicate examples ( #2140 )
2021-11-16 13:22:23 +02:00
Rotem Tamir
99ad873ae0
doc/website/blog: adding code screenshot to entoas blogpost ( #2139 )
2021-11-16 11:52:34 +02:00
allcontributors[bot]
3cbf4d40cd
docs: add grevych as a contributor for code ( #2138 )
...
* 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-11-16 10:26:30 +02:00
Ariel Mashraki
6402fc7fe2
Merge pull request #2137 from ent/getoutreach-grevych/sqljson-pattern-matching-predicates
...
Getoutreach grevych/sqljson pattern matching predicates
2021-11-16 10:21:08 +02:00
Ariel Mashraki
77701d4db6
dialect/sql/sqljson: use the builtin string predciates in sqljson and improve tests
2021-11-16 10:07:34 +02:00
Jeremy Maxey-Vesperman
5645812c73
doc/md: add tutorial for configuring gRPC service method generation
2021-11-16 00:30:33 +02:00
allcontributors[bot]
0a6ca7ee5a
docs: add JeremyV2014 as a contributor for doc, code ( #2135 )
...
* 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-11-15 22:59:53 +02:00
MasseElch
ef90b24e23
doc/website/blog: entoas blog post ( #2124 )
...
* doc/website/blog: entoas blog post
* doc/website/blog: minor change to footer
* doc/website/blo: apply suggestions from code review
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com >
* doc/website/blog: apply code-review
* doc/website/blog: apply code-review, add image stubs, last minute preparations
* doc/website/blog: correct image sources
* doc/website/blog: last minute changes
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com >
2021-11-15 21:40:15 +02:00
Amit Shani
c0878f8b62
doc/extension: fix example code ( #2132 )
2021-11-14 14:19:46 +02:00
Ariel Mashraki
a5fea077a9
dialect/sql: use identifier qualifiers for WHERE clause on upsert
...
Fixed https://github.com/ent/ent/issues/2126
2021-11-12 23:46:46 +02:00
Ariel Mashraki
12feb4301d
doc/predicates: fix json example doc
2021-11-11 20:26:01 +02:00
Ariel Mashraki
7456e95235
doc/predicates: fix json example doc
2021-11-11 20:15:58 +02:00
Ariel Mashraki
0dd7b0d7c3
dialect/sql/sqljson: fix sqlite haskey and add docs
2021-11-11 18:58:28 +02:00
Ariel Mashraki
3ba2b4e173
entc/integration/json: add tests for null literals
2021-11-10 17:24:51 +02:00
Ariel Mashraki
0c5398a11d
dialect/sql/sqljson: support comparing values with null literal
2021-11-10 17:24:51 +02:00
Alexander Melentyev
f6c9428978
ci: bump golangci-lint version ( #2106 )
2021-11-09 20:53:30 +02:00
dependabot[bot]
39eb637a42
build(deps): bump github.com/lib/pq from 1.10.3 to 1.10.4 ( #2121 )
...
Bumps [github.com/lib/pq](https://github.com/lib/pq ) from 1.10.3 to 1.10.4.
- [Release notes](https://github.com/lib/pq/releases )
- [Commits](https://github.com/lib/pq/compare/v1.10.3...v1.10.4 )
---
updated-dependencies:
- dependency-name: github.com/lib/pq
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-11-09 19:04:48 +02:00
Ariel Mashraki
ab207c499a
entc/gen: minor codegen improvements
2021-11-08 15:56:15 +02:00
Ariel Mashraki
e915765f3b
entc/gen: allow scanning nil valuescanner types directly from database
...
Fixed https://github.com/ent/ent/issues/2116
2021-11-07 23:09:02 +02:00
Ariel Mashraki
dd6c034c2a
dialect/sql/schema: support mediumtext field in migration
...
Fixed https://github.com/ent/ent/issues/2113
2021-11-07 15:37:06 +02:00