Ciaran Liedeman
|
eff6552989
|
entc/gen: allow users to alter Query initialization using templates (#1453)
* Templating: Allow user to alter Query struct init
* Update entc/gen/template/dialect/sql/query.tmpl
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
* pr feedback
* renamed template
* changed sql to *
* to tabs
* removed old template
* update bin-data
* Update entc/integration/template/ent/template/query.tmpl
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
* restore newline
* update bindata
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
|
2021-04-14 14:04:29 +03:00 |
|
Matthew Gabeler-Lee
|
c53b45ddb0
|
all: use %w instead of %v to wrap errors (#1275)
* all: use %w instead of %v for nested errors with fmt.Errorf
* all: update generated code to use %w instead of %v for error wrapping
|
2021-03-03 20:05:33 +02:00 |
|
Ariel Mashraki
|
dd4792f5b3
|
go: rename module from github.com/facebook/ent => entgo.io/ent (#1226)
|
2021-02-02 23:03:04 +02:00 |
|
Ariel Mashraki
|
aeb1ccc571
|
entc/gen: move schemaconfig template to feature-flag
|
2021-01-24 19:57:28 +02:00 |
|
Ariel Mashraki
|
a692086309
|
dialect: support for begintx in debug mode (#1176)
|
2021-01-15 15:13:50 +02:00 |
|
Nathaniel Peiffer
|
b8b82f80a4
|
entc/gen: fix grammar and language usage in function comments (#1126)
* fix grammar and english usage in templates
* bindata gen
* codegen
* go generate ./again...
|
2021-01-04 14:34:40 +02:00 |
|
Nathaniel Peiffer
|
550081ea33
|
entc/gen: fix incorrect comment for CreateBulk (#986)
* fix: incorrect comment for CreateBulk
* chore: run go generate
|
2020-11-26 11:01:16 +02:00 |
|
Ariel Mashraki
|
190ef15f4e
|
examples/privacy: adminonly application example (#840)
|
2020-10-12 12:13:53 +03:00 |
|