Aaron L
0b027fa01c
Fix hook documentation to include error return
...
Fix #171
2017-07-02 11:16:21 -07:00
Patrick L. O'Brien
e96316501c
Update logo
2017-06-29 01:44:44 +10:00
Patrick L. O'Brien
b27796cb28
Update logo
2017-06-29 01:42:07 +10:00
Aaron L
cc47da44fb
Amend readme for constants
2017-06-27 21:10:47 -07:00
Aaron L
82e14d2e1a
Bump version 2.5.0
2017-06-27 20:59:25 -07:00
Aaron L
229c6ebc35
Merge branch 'jfernstad/fix-area-plural-issue' into dev
2017-06-27 20:58:07 -07:00
Joakim Fernstad
6022d471e3
Fix area plural issue, add testcase
...
- Fix #168
2017-06-27 12:56:13 +02:00
Aaron L
e58ab28787
Merge branch 'master' into dev
2017-06-26 21:19:59 -07:00
Guy Tish
f5e53ac52b
Added table columns and table names as anonymous struct
2017-06-26 14:14:16 +03:00
Aaron L
c00ebe1911
Correct nullability for tests in to_one
...
- Use the nullability of the fkey column in question to determine
nullability for the entire struct to make things easy, otherwise
we'd have to pluck out one at a time. This makes the tests pass
instead of fail sporadically.
- Fix #160
2017-06-14 21:16:31 -07:00
Aaron L
35563d1bdf
Fix selecting in one-to-many relatiosships
...
- This fix checks the query that's being prepared for any select
statements, if there's none then add one so the query does what's
expected.
- Fix #159
2017-06-14 20:53:39 -07:00
Aaron L
1e9753091b
Merge branch 'randimize-enums-with-single-value' into dev
2017-06-14 20:23:40 -07:00
Genadi Samokovarov
64206cfe07
Fix randomization for enums with single value
...
Hey there,
I hit a bug that panicked the tests with:
panic: invalid argument to Intn
The problem happened, because I have a Postgres `ENUM` with a single
value, that caused a `rand.Intn(0)` call, which panics on zero.
See: https://golang.org/src/math/rand/rand.go?s=4112:4142#L129
2017-06-14 16:53:55 +03:00
Aaron L
553cc9f680
Odd circleci fix for syntax?
2017-06-08 20:58:31 -07:00
Aaron L
c69639e6d9
One more fix to circle file
2017-06-08 20:56:11 -07:00
Aaron L
226517279f
Disable MSSQL tests until they run again
...
- The mssql image seems to have gotten an update that causes our tests
to freeze instead of run, it seems to do with the create database
calls but I haven't had time to look into it.
- Remove commented old code from circle file
2017-06-08 20:53:53 -07:00
Aaron L
9107c9dea1
Another instance of helper slices in eager code
...
- Another instance of helper slice types seeping in. Convert the slice
when it's found as part of a singular's R struct.
- Fix #158
2017-06-08 20:50:35 -07:00
Aaron L
2168a70c4f
Stop using aliases in the relationship select
...
- This caused issues with mysql who doesn't understand the syntax:
"delete from x as y where y.id = ?"
2017-06-04 12:29:04 -07:00
Aaron L
466ea1f55f
Fix another occurrency of XSlice cast failures
...
- When eager loading, we pull the values back out of the R struct, at
this point it's possible to get the "poisoned" XSlice type that
nothing can deal with again.
2017-06-04 12:03:57 -07:00
Aaron L
833fd04c6b
Fix random typo
2017-06-04 11:19:03 -07:00
Aaron L
7e5374eb22
Bump SQL Server CI image version
2017-05-15 22:25:15 -07:00
Aaron L
696d572164
Merge branch 'viper' into dev
2017-05-15 22:01:44 -07:00
Aaron L
4896aae393
Merge branch 'sql-syntax-highlighting' into dev
2017-05-15 22:01:13 -07:00
Alex Macleod
9700787bf9
Highlight Enum SQL
2017-05-12 13:57:03 +01:00
Alex Macleod
7d38cba663
Fix viper link
2017-05-12 13:46:55 +01:00
Aaron L
17f2ec5108
Bump to 2.4.0
2017-05-08 19:19:12 -07:00
Aaron L
1d29e337e3
Merge branch 'guns/sort-tables' into dev
2017-05-08 19:14:25 -07:00
Aaron L
8e8100f5f0
Merge branch 'lbryio/mysql-uint-fix' into dev
...
- Fix #146
2017-05-08 19:14:02 -07:00
Alex Grintsvayg
1467b88f04
detect unsigned int columns in mysql
2017-05-08 13:10:21 -04:00
guns
e22d6cf77b
Sort Table slice to ensure stable template output
2017-05-03 04:04:54 -05:00
Aaron L
070df18197
Add mailing lists
2017-05-01 19:44:52 -07:00
Aaron L
3b5ab423b3
Bump version
2017-05-01 18:41:49 -07:00
Aaron L
632b89fae0
Merge branch 'dev'
2017-05-01 18:41:02 -07:00
Aaron L
112a836af2
Make UDT's that aren't enums fall through
...
- This allows typse that are not enumerations to properly escape the
enumeration code in the query.
- Fix #131
2017-04-28 21:07:39 -07:00
Aaron L
7a8d78cceb
Merge branch 'mssql_tests' into dev
2017-04-28 20:08:34 -07:00
Aaron L
ecad5334fb
Fix MySQL protocol selection
...
- If MySQL host exists on the filesystem as a file, then expect that
this is actually a unix socket. If not, add protocol=tcp to force the
mysql client to use tcp otherwise it tries unix sockets for no reason.
Thanks MySQL.
2017-04-28 20:01:27 -07:00
Aaron L
196b4099a1
Merge branch 'nemec/mssql_tests' into mssql_tests
2017-04-28 19:30:12 -07:00
Sergey Kurt
a3442a5ab4
Fixed INSERT-SELECT deadlocks in tests
2017-04-28 23:58:17 +03:00
Aaron L
a9264e6447
Merge branch 'maks/fix_noauto_template' into dev
2017-04-24 10:15:00 -07:00
Maksim
bdd28d9d5b
fix removing whitespace
2017-04-24 12:46:56 -04:00
Aaron L
7de817b111
Add dep fetch to tests part
2017-04-23 17:33:47 -07:00
Aaron L
0b44c26a26
Add passwords to psql/mysql
2017-04-23 16:39:36 -07:00
Aaron L
36ae141304
Turn off PSQL SSL in tests
2017-04-23 16:22:10 -07:00
Aaron L
85c9104d34
Fix syntax error
2017-04-23 16:17:46 -07:00
Aaron L
5ee4b06c9b
Move CircleCI file to correct spot
2017-04-23 16:16:07 -07:00
Aaron L
3a38ed1f7a
Add Dockerfile
2017-04-23 16:14:37 -07:00
Aaron L
e4d1e606fd
CI for mssql
...
- Fix a bug where mysql was never tested in CI (hah!)
2017-04-23 16:00:24 -07:00
Aaron L
6a0817d37d
Update benchmark section
2017-04-23 14:28:21 -07:00
Aaron
5a33894412
Add contribution guidelines
2017-04-16 11:59:13 -07:00
Aaron
d9b991e487
Merge remote-tracking branch 'michsior/dev' into dev
2017-04-16 11:35:12 -07:00