Ariel Mashraki
abc4e63efb
ci: change postgres12 listen port ( #521 )
2020-06-03 15:33:56 +03:00
Ariel Mashraki
14ccf7b7fc
intgeration: update mysql8 version and remove test container ( #347 )
2020-02-14 16:24:30 +02:00
Ariel Mashraki
9b2b53f559
entc/gen: avoid conflict local vars with user packages ( #292 )
...
Fixes #284
2020-01-16 17:30:18 +02:00
Ariel Mashraki
440a737d73
entc/integration: add postgress 10,11 for test cases
...
Summary: Pull Request resolved: https://github.com/facebookincubator/ent/pull/131
Reviewed By: alexsn
Differential Revision: D18199300
fbshipit-source-id: 2335f81ba67055934dddae22ec02f1bfb43162d0
2019-10-29 03:31:14 -07:00
Ariel Mashraki
21a58e94a3
entc/integration: test postgres schema creation
...
Summary: Pull Request resolved: https://github.com/facebookincubator/ent/pull/124
Reviewed By: alexsn
Differential Revision: D18117662
fbshipit-source-id: e8151f92e00f565db26f17f78ff46b132c46e425
2019-10-24 10:49:47 -07:00
Alex Snast
5d988870bc
ent/entc: use select/scan on id query ( #1552 )
...
Summary:
Pull Request resolved: https://github.com/facebookexternal/fbc/pull/1552
Pull Request resolved: https://github.com/facebookincubator/ent/pull/93
avoids complete ent load on id query
Reviewed By: a8m
Differential Revision: D17906002
fbshipit-source-id: 7749a0d7c707858eab368978a1d220b581ea6dbb
2019-10-14 23:16:14 -07:00
Alex Snast
5c93cb823c
ent/circleci: store go tests metadata ( #63 )
...
Summary:
Pull Request resolved: https://github.com/facebookincubator/ent/pull/63
Pull Request resolved: https://github.com/facebookexternal/fbc/pull/1527
See https://circleci.com/blog/level-up-go-test-with-gotestsum/ for more info
Reviewed By: a8m
Differential Revision: D17761305
fbshipit-source-id: d16050b4e1825e8c23be5cc0a4b0dff80936b86a
2019-10-05 10:15:47 -07:00
Alex Snast
d581e01bb6
ent/circleci: drop goimports installation
...
Reviewed By: a8m
Differential Revision: D17761242
fbshipit-source-id: 7ebf67b59eed722ac329b5ab6a152140a013c64c
2019-10-05 10:15:47 -07:00
Ariel Mashraki
bd07c86b60
all: add license header to all go files
...
Summary:
Used addlicense to generate this:
addlicense -c "Facebook Inc" -f license_header .
example was taken from: https://github.com/facebook/litho/blob/master/lib/soloader/BUCK
Reviewed By: alexsn
Differential Revision: D17070152
fbshipit-source-id: e7b91398d7f6181727be3400c1872ad5f28e38ed
2019-08-27 04:48:28 -07:00
Ariel Mashraki
24d03df613
ent/ci: install goimports before running tests
...
Summary: Pull Request resolved: https://github.com/facebookincubator/ent/pull/16
Reviewed By: alexsn
Differential Revision: D16914392
fbshipit-source-id: 7f0fc01fb760b0712341810796d6539f549a9b5f
2019-08-20 06:07:08 -07:00
Ariel Mashraki
c16d3c8e25
ent/schema: explicitly defines non-null fields in schema
...
Reviewed By: alexsn
Differential Revision: D16791620
fbshipit-source-id: bad3ac7b2349d2f483c804eb3623c6dfa8b06313
2019-08-15 03:37:17 -07:00
Ariel Mashraki
4ac1b595bf
ent/schema: fix indexes in mysql versions <= 5.6
...
Summary: move property type uniqueness enforment to ent schema
Reviewed By: alexsn
Differential Revision: D16767355
fbshipit-source-id: db6ba4853a8816fd5f6299a34c0b780028d75da1
2019-08-13 07:41:23 -07:00
Alex Snast
dfadb3e27b
entc: drop switch statements on single storage ( #12 )
...
Summary:
Pull Request resolved: https://github.com/facebookincubator/ent/pull/12
Pull Request resolved: https://github.com/facebookexternal/fbc/pull/1256
Reviewed By: a8m
Differential Revision: D16667212
fbshipit-source-id: e9f8a51986de5fe97356285e23946a61578d8164
2019-08-06 07:52:21 -07:00
Ariel Mashraki
56656dfcb6
ent/entc: configure storage driver in codegen
...
Summary: Pull Request resolved: https://github.com/facebookexternal/fbc/pull/1229
Reviewed By: alexsn
Differential Revision: D16539934
fbshipit-source-id: b3a8bf1f1be6f65ad3f649cd921ea20fc24182bf
2019-07-30 02:49:22 -07:00
Alex Snast
ff6403b4ae
remove mutex from sql tx
...
Summary: We were releasing tx lock before consuming rows data which could place the connection in a bad state. Instead of changing lock placement we chose to remove it as mutations were changed to being serial which is expected when working with transactions.
Reviewed By: a8m
Differential Revision: D16449629
fbshipit-source-id: 9f2e7435036f35c407f0640e3dd1071a17b3c368
2019-07-23 20:15:45 -07:00
Ariel Mashraki
e8e96f014f
add charset support for fields
...
Summary: Basically, adding support for Hebrew characters.
Reviewed By: alexsn
Differential Revision: D16068537
fbshipit-source-id: 4e934da5ea97c9e804317f746556ab1d51faebcc
2019-07-01 08:10:24 -07:00
facebook-github-bot
267e3c15bd
Initial commit
...
fbshipit-source-id: c79a38536e3c128dce1b2948615b72ec9779ed22
2019-06-16 04:37:51 -07:00