Commit Graph

26 Commits

Author SHA1 Message Date
Ștefan Talpalaru 43ff99a809
CI: update script path 2019-08-24 05:14:20 +02:00
Zahary Karadjov 5ef8130c79
Add a very basic test and a CI config 2019-08-14 17:33:14 +02:00
Zahary Karadjov 3bd550eb68
Add tests for tuples 2019-08-12 17:50:50 +03:00
Alexander Ivanov 034a6c8efe
Implement unnamed tuple support 2019-08-08 23:18:36 +03:00
Zahary Karadjov b42502b512
Some needed support for custom field serialization in Json 2019-08-07 01:19:32 +03:00
Zahary Karadjov 56ad4b18de
Transfer some of the complexity in handling case objects from SSZ to the general serialization lib 2019-08-05 16:54:17 +03:00
Zahary Karadjov e97e0b0684
Add roundtrip tests for tables 2019-08-05 16:54:17 +03:00
Zahary Karadjov 897a6638cf
Extract common test cases and patterns used by both SSZ and JSON 2019-08-05 16:54:17 +03:00
Zahary Karadjov 8e907c46fc
Fix a build issue affecting Nim 0.20.2 2019-08-05 16:54:17 +03:00
Zahary Karadjov e26985dec3
Fix a compilation issue in the roundtripTest when used with case objects 2019-08-05 16:54:17 +03:00
Zahary Karadjov 99daa96284
Custom serialization for object fields (initial version) 2019-08-05 16:54:17 +03:00
Zahary Karadjov e126d48e6c
Use the new fixed hasCustomPragma definition 2019-08-05 16:54:17 +03:00
Zahary Karadjov 60613bac5d
Better support for case objects; Some internal documentation 2019-08-05 16:54:17 +03:00
Jacek Sieka 5c2d0c7253
std_shims -> stew 2019-07-07 11:50:26 +02:00
Jacek Sieka 6025b5d3a7
fix typo 2019-06-28 09:51:28 +02:00
Zahary Karadjov 6bbde4d3a0 Ergonomic improvements for roundtripTest 2019-06-24 17:37:30 +03:00
Zahary Karadjov 3a56635499 New roundtripTest helper that checks the serialized value as well 2019-06-24 16:46:23 +03:00
Zahary Karadjov 060c8fd9bf
Add a helper simplifying writing a single value to a stream 2019-06-24 05:07:13 +03:00
Zahary Karadjov 6804ea2537 Improved custom serialization error handling 2019-03-20 03:16:27 +02:00
Zahary Karadjov 3a2595be94 Add a common interface for producing better error messages 2019-03-20 01:44:30 +02:00
Zahary Karadjov 030c8e2cbe Use the latest OutputStream; Needed helpers for the SSZ support 2019-03-11 11:34:04 +02:00
Zahary Karadjov 65184697ff Fix a compiler error when using T.totalSerializedFields 2018-12-28 03:01:24 +02:00
Zahary Karadjov 94224f6e18 More comprehensive APIs; Tests 2018-12-19 12:44:18 +02:00
Zahary Karadjov 36cf03f7a9 temporary work-around for a Nim bug 2018-11-29 03:34:06 +02:00
Zahary Karadjov c8c8e3b7e2 Initial simple/naive implementation of the field enumeration logic 2018-11-11 13:41:04 +02:00
Zahary Karadjov cd744a5450 Very basic initial version. Covering only naively implemented writers 2018-11-10 02:14:43 +02:00