Commit Graph

49 Commits

Author SHA1 Message Date
Nikita Volkov
05ced1a711 Add a failing test on array of composites 2022-10-15 12:54:25 +03:00
Nikita Volkov
9276d7e298 Add error position 2022-07-07 10:47:11 +03:00
Nikita Volkov
b64a7015a1 Format with ormolu 2022-06-20 13:55:04 +03:00
Nikita Volkov
fb5b48c46a Make the tests compatible with the rerebase 1.11 2021-03-24 16:41:07 +03:00
Nikita Volkov
46b836796e Ditch mapLeft 2020-04-08 21:08:19 +03:00
Nikita Volkov
3de214198a Fix the compatibility issues in benchmarks and tests 2020-03-21 20:48:16 +03:00
Nikita Volkov
db4261ddb5 Rename unit to noResult 2019-05-21 13:25:22 +03:00
Nikita Volkov
5b258ae53a Ditch Primitive from encoders
That's for consistency with decoders, and decoders can't have this separation without introducing too much complexity. That's so because of there existing a support for composite types, which may consist of arrays and arrays may consist of composites.
2019-05-21 12:59:50 +03:00
Nikita Volkov
51e0568b75 Add array roundtrip tests 2019-05-21 08:49:47 +03:00
Nikita Volkov
590be494bc Redesign decoders 2019-05-21 01:20:57 +03:00
Nikita Volkov
19345cf624 Redesign the encoders 2019-05-20 19:24:27 +03:00
Nikita Volkov
9eee8c990b Ditch the integration with "default" 2019-05-20 15:02:17 +03:00
Nikita Volkov
509dafdfbf Rename Query to Statement 2018-05-23 18:33:34 +08:00
Nikita Volkov
726097efd5 Rename some result decoders 2018-05-23 18:11:16 +08:00
Nikita Volkov
8eb3830a7f Make the codec names more consistent 2018-05-23 18:09:16 +08:00
Nikita Volkov
ea4874ca7e Reimplement to add support for query param printing in failed queries 2018-05-23 17:58:24 +08:00
Nikita Volkov
b806c6ef1c Migrate from EitherT to ExceptT 2017-11-26 11:24:40 +03:00
Nikita Volkov
f76d67ed1f Restore the older test 2017-11-01 20:37:01 +03:00
steve-chavez
26fc28d922 Fix #80, better behavior for unknown encoder 2017-10-28 18:11:47 -05:00
Nikita Volkov
b41ca069d7 Merge branch 'pr/64'
* pr/64:
  Fix the test
  Failing composite test.
2016-12-09 11:34:45 +03:00
Nikita Volkov
3244140243 Fix the test 2016-12-09 11:34:26 +03:00
Nikita Volkov
98de66fc22 Update the deps 2016-12-09 11:33:45 +03:00
Karl Sutt
cbe38bb459 Failing composite test. 2016-12-08 22:59:23 +00:00
Nikita Volkov
a1a5e15da8 Add tests for "IN" and "NOT IN" simulations 2016-11-18 20:15:26 +03:00
Nikita Volkov
08564ab360 Fix the Composite decoder 2016-10-01 15:34:44 +03:00
Nikita Volkov
c883289be3 Reproduce the empty array issue (#46) 2016-04-12 22:16:57 +03:00
Nikita Volkov
12a5e538fd Failing prepared statements test 2016-02-26 14:11:30 +03:00
Nikita Volkov
6cb86412ca Test prepared statements and errors 2016-02-23 09:43:17 +03:00
Nikita Volkov
b38a881b50 Reproduce a bug 2016-01-24 19:52:04 +03:00
Nikita Volkov
129775fe40 Reproduce the bug 2016-01-22 18:43:15 +03:00
Nikita Volkov
9d3bc1c0d8 Update the test DSL 2016-01-22 18:38:34 +03:00
Nikita Volkov
4e596bd8f4 Test Unknown 2016-01-13 16:15:35 +03:00
Nikita Volkov
25a66b2443 A hotfix of the inverted integer-datetimes detection bug in encoders 2016-01-12 17:25:01 +03:00
Nikita Volkov
15be208dd5 Move Settings to Connection 2015-12-23 17:07:14 +05:00
Nikita Volkov
b777ae2e40 Revision 2015-12-21 18:51:42 +05:00
Nikita Volkov
838bc8cb8e Session and Query Arrow 2015-12-21 18:11:14 +05:00
Nikita Volkov
d5f5c90ed4 Update the tests and reproduce the bug 2015-12-06 08:12:16 +03:00
Nikita Volkov
ef1b6ff8b3 Encoding/Decoding -> Encoders/Decoders 2015-12-05 09:09:31 +03:00
Nikita Volkov
77cf80ce6b Fixes 2015-11-28 06:24:23 +03:00
Nikita Volkov
93805d4a73 Deep isolation 2015-11-22 10:10:21 +03:00
Nikita Volkov
66eee199cb "noResult" -> "unit" 2015-11-22 08:34:27 +03:00
Nikita Volkov
ed23377f2e Simplify Settings 2015-11-21 17:46:36 +03:00
Nikita Volkov
f46bd40a14 Make Query a dedicated data-type 2015-11-21 17:35:43 +03:00
Nikita Volkov
7dc7b790cc Switch to the Encoding/Decoding idioms 2015-11-21 13:44:18 +03:00
Nikita Volkov
7ed67357ec List decoding test 2015-11-18 22:57:03 +03:00
Nikita Volkov
7694de6814 Remove the "Results" layer from the public deserialization API 2015-11-16 20:13:15 +03:00
Nikita Volkov
eb9c4be732 Rename a few things 2015-11-16 20:03:33 +03:00
Nikita Volkov
79d3be1a78 Tests 2015-11-15 23:53:50 +03:00
Nikita Volkov
85782bdf5b Init tasty 2015-11-10 21:19:41 +03:00