Commit Graph

62 Commits

Author SHA1 Message Date
Tom Sydney Kerckhove
c7749e2947 withDefault and documentation 2021-10-30 12:42:26 +02:00
Tom Sydney Kerckhove
32dfb6191e Better names for primitive codecs 2021-10-30 12:25:33 +02:00
Tom Sydney Kerckhove
f03d879004 encode arrays an vectors 2021-10-30 12:11:41 +02:00
Tom Sydney Kerckhove
f2cc6badbf remove obsolete funding options 2021-10-30 12:05:05 +02:00
Tom Sydney Kerckhove
1f16d4ccb6 Readme and documentation efforts 2021-10-30 12:03:59 +02:00
Tom Sydney Kerckhove
ac755572fb A little bit fo documentation everywhere 2021-10-30 11:54:31 +02:00
Tom Sydney Kerckhove
424db75bb8 Got rid of the Bimap codec node in favour of a more general map codec node 2021-10-30 11:39:52 +02:00
Tom Sydney Kerckhove
8bd8552343 removed debug code 2021-10-30 11:34:40 +02:00
Tom Sydney Kerckhove
99d62f01fa optionalFieldWithDefault 2021-10-30 11:34:16 +02:00
Tom Sydney Kerckhove
02eaed434a little moving 2021-10-30 11:23:44 +02:00
Tom Sydney Kerckhove
9333b3c253 Optional field or null 2021-10-30 11:22:54 +02:00
Tom Sydney Kerckhove
4bfa61d352 got the decoding the wrong way around 2021-10-30 02:34:30 +02:00
Tom Sydney Kerckhove
4044263ad3 something is going wrong with numbers 2021-10-30 02:32:53 +02:00
Tom Sydney Kerckhove
78fefa969c move all tests to the api usage module 2021-10-30 00:34:47 +02:00
Tom Sydney Kerckhove
c3402bc891 Refactor api usage tests into separate package 2021-10-30 00:29:59 +02:00
Tom Sydney Kerckhove
6071b88b0c deleted rogue file 2021-10-29 20:31:57 +02:00
Tom Sydney Kerckhove
86d9a7b742 Also yaml output for reference schemas 2021-10-29 20:23:58 +02:00
Tom Sydney Kerckhove
347e6eabc5 a finite recursive schema 2021-10-29 19:56:07 +02:00
Tom Sydney Kerckhove
04c6f46001 a codec for a recursive type 2021-10-27 23:04:23 +02:00
Tom Sydney Kerckhove
29e697c308 matchChoicesCodec 2021-10-27 22:34:11 +02:00
Tom Sydney Kerckhove
67ed366d5b clearer tests 2021-10-27 21:51:21 +02:00
Tom Sydney Kerckhove
556574bacc Value Codec 2021-10-27 18:19:34 +02:00
Tom Sydney Kerckhove
72ff62199c Validation tests 2021-10-27 18:06:40 +02:00
Tom Sydney Kerckhove
9f8ca6827a got tests to pass again 2021-10-27 17:57:53 +02:00
Tom Sydney Kerckhove
cbe01f0db5 Ordered keys 2021-10-27 16:20:29 +02:00
Tom Sydney Kerckhove
c64f52dbce Nonempty choice schema in aeson 2021-10-27 13:26:43 +02:00
Tom Sydney Kerckhove
e64d072d84 got ci to pass 2021-10-27 12:32:29 +02:00
Tom Sydney Kerckhove
24c2f3ca00 tests pass 2021-10-27 02:28:29 +02:00
Tom Sydney Kerckhove
6c5dd2dd9a Got tests to pass 2021-10-26 23:51:13 +02:00
Tom Sydney Kerckhove
dc5065dd66 Choice seems to work now 2021-10-26 23:42:22 +02:00
Tom Sydney Kerckhove
32ebf5589d some way of solving choice 2021-10-26 22:53:44 +02:00
Tom Sydney Kerckhove
11234259c3 get rid of the thing that is broken 2021-10-26 21:20:51 +02:00
Tom Sydney Kerckhove
8110b035c7 found a major bug with choice 2021-10-24 23:40:28 +02:00
Tom Sydney Kerckhove
6638000c3a EqCodec 2021-10-24 23:07:14 +02:00
Tom Sydney Kerckhove
f608f4a338 Hlint applied 2021-10-24 19:45:21 +02:00
Tom Sydney Kerckhove
117fdefe70 comments in json schema 2021-10-24 19:43:52 +02:00
Tom Sydney Kerckhove
681313ab7e test failure 2021-10-24 19:34:17 +02:00
Tom Sydney Kerckhove
2fe005fd91 trying a thing 2021-10-24 19:29:57 +02:00
Tom Sydney Kerckhove
9ff0e23eb9 Trying to set up CI 2021-10-24 19:21:59 +02:00
Tom Sydney Kerckhove
617f95fe68 Not too much ceremony for the either codec 2021-10-24 15:22:24 +02:00
Tom Sydney Kerckhove
6eec7dfa27 names for arrays and objects, for error messages and for documentation 2021-10-24 15:21:37 +02:00
Tom Sydney Kerckhove
c252d80fbb Basic comments 2021-10-23 21:32:06 +02:00
Tom Sydney Kerckhove
222fc55999 rename field to requiredField 2021-10-23 21:14:29 +02:00
Tom Sydney Kerckhove
9f8a315f61 optional fields 2021-10-23 21:13:51 +02:00
Tom Sydney Kerckhove
d89c62a771 Show choice schemas nicely as well 2021-10-23 21:03:52 +02:00
Tom Sydney Kerckhove
90d9b9d7fa basic colouring 2021-10-23 20:58:10 +02:00
Tom Sydney Kerckhove
566493a245 basic pretty schema rendering without colour so far 2021-10-23 20:09:12 +02:00
Tom Sydney Kerckhove
949665a190 Started on autodocodec-yaml 2021-10-23 19:51:31 +02:00
Tom Sydney Kerckhove
cc910db093 maybe schema, with a fix for null 2021-10-23 19:16:46 +02:00
Tom Sydney Kerckhove
f4a30216b6 Instances for integers and words 2021-10-23 18:41:33 +02:00