Commit Graph

327 Commits

Author SHA1 Message Date
Tom Sydney Kerckhove
e939442995 further improved handling of eitherCodec in objectCodec 2024-11-04 10:51:42 +01:00
Tom Sydney Kerckhove
a7488a3303 update horizon 2024-10-13 01:00:01 +02:00
Pablo Bollansée
be4aba9ef1 Added boundedEnumCodec 2024-09-01 16:36:12 +02:00
Tom Sydney Kerckhove
f19887d136 more accurate support for EitherCodec 2024-08-22 01:22:32 +02:00
Tom Sydney Kerckhove
7b67f8c468 Made required object codecs produce a required type 2024-08-22 00:37:08 +02:00
Tom Sydney Kerckhove
d3cbdbc07b Fixed the type representation of null and nullOr 2024-08-21 22:47:58 +02:00
Tom Sydney Kerckhove
d34f34418c optionalFieldOrNullWithDefault 2024-08-21 22:11:56 +02:00
Tom Sydney Kerckhove
55eba25037 fix the nix type of Word 2024-08-20 23:13:47 +02:00
Clinton Mead
ac36615cb3 Add 'HasCodec' instances for 'DList' and 'DNonEmpty' from the 'dlist' package 2024-08-06 23:50:10 +10:00
Clinton Mead
f1605d38f9 Remove orphan instance for YAML encoder 2024-08-04 18:13:27 +02:00
Tom Sydney Kerckhove
d5f9869861
Merge pull request #53 from yurrriq/patch-1
Update README.md
2024-08-01 12:27:41 +02:00
Eric Bailey
519248094c
Update README.md 2024-07-31 15:26:10 -05:00
theGhostJW
c51eaad56a Update README.md 2024-07-31 00:55:25 +02:00
Tom Sydney Kerckhove
07a4b8a0a9 output more exact nix option types for EqCodec-based codecs 2024-07-31 00:55:25 +02:00
Tom Sydney Kerckhove
0c84d85642 drop orphan-instance based deriving for swagger and openapi 2024-07-29 16:53:59 +02:00
Clinton Mead
7a7c8f203c Use non-orphan instance for openapi and swagger 2024-07-29 15:52:55 +02:00
Tom Sydney Kerckhove
b435803c33 Integer codec 2024-07-26 08:57:47 +02:00
Tom Sydney Kerckhove
0aa088a28a run tests with current ghc 2024-07-22 13:26:11 +02:00
Tom Sydney Kerckhove
05e1c9aac2 more accurate number types 2024-07-21 19:42:19 +02:00
Tom Sydney Kerckhove
bc3a9987b5 format empty attribute sets with a space 2024-07-21 19:40:24 +02:00
Tom Sydney Kerckhove
f2c0551cdb autodocodec-nix 2024-07-21 19:18:00 +02:00
Tom Sydney Kerckhove
56bdac8b3c released the missing releases after autodocodec 0.3 2024-07-21 15:15:47 +02:00
Clinton Mead
f92977cda9 Refactored Codec datatype so it's input and output parameters have representational, not nominal roles
This means one can now do newtype deriving for the HasCodec class
2024-07-19 19:49:29 +02:00
Tom Sydney Kerckhove
f6785bf583 First version of autodocodec-nix 2024-07-19 19:49:29 +02:00
Tom Sydney Kerckhove
36779707f3 Released 2024-06-23 18:26:48 +02:00
Tom Sydney Kerckhove
be964a56b1 Upgrade schema too 2024-06-23 17:08:40 +02:00
Tom Sydney Kerckhove
da8a2f8660 Update inputs 2024-06-23 17:03:25 +02:00
Tom Sydney Kerckhove
755ad0bf56 simplify shell 2024-06-23 16:49:34 +02:00
Tom Sydney Kerckhove
f5174c1b3a Ready for release 2024-06-23 16:32:26 +02:00
Tom Sydney Kerckhove
a818df53b0 Nicer number bounds 2024-06-15 22:59:08 +02:00
Tom Sydney Kerckhove
3785aaf884 opt-env-conf upgrades 2024-06-13 11:31:59 +02:00
Tom Sydney Kerckhove
ef4a7cc685 Upgrade to nixos-24.05 and lts-22.22 2024-06-03 07:17:39 +02:00
Tom Sydney Kerckhove
f0b76ac6e8 Upgrade to check against ghc 9.10 2024-05-30 08:43:51 +02:00
Tom Sydney Kerckhove
958a1c51fb Upgrade to lts-21.22 and nixos-23.11 2023-12-04 08:12:10 +01:00
Tom Sydney Kerckhove
5df931e5df new ghc version in horizon 2023-12-04 08:03:27 +01:00
Tom Sydney Kerckhove
e7f4ec8d1d activate cachix 2023-11-20 16:52:16 +01:00
Tom Sydney Kerckhove
0e48f4dd46 Integer and natural codec 2023-11-20 16:37:11 +01:00
Tom Sydney Kerckhove
ffd2a3fcb2 forward compatibility 2023-10-09 22:52:26 +02:00
Tom Sydney Kerckhove
762eb76333 HasCodec instance for vectors 2023-10-06 16:50:46 +02:00
Tom Sydney Kerckhove
70e461ca71 upgrade inputs 2023-10-05 12:05:11 +02:00
Tom Sydney Kerckhove
fde492b234 Forward-compatibility with aeson-2.2 2023-10-05 11:29:33 +02:00
Tom Sydney Kerckhove
04ba46041e trying forward compatibility 2023-10-04 15:48:29 +02:00
Tom Sydney Kerckhove
c8d56ace5b Document the interaction of optionalField with parseAlternative 2023-09-27 15:32:50 +02:00
Clinton Mead
f661ec72fd HasCodec Identity 2023-07-31 09:14:39 +02:00
Tom Sydney Kerckhove
5f23727689 Merge branch 'master' into development 2023-06-02 09:49:27 +02:00
Tom Sydney Kerckhove
7ef8fee7e3 Upgrade to lts 20.23 and nixos 23.05 2023-06-02 09:49:23 +02:00
Tom Sydney Kerckhove
acc7913aee Upgrade to lts 20.23 and nixos 23.05 2023-06-02 09:49:23 +02:00
Tom Sydney Kerckhove
7dac30c27e Upgrade to lts 20.23 and nixos 23.05 2023-06-02 09:47:35 +02:00
Tom Sydney Kerckhove
d0d7b2b35b
Merge pull request #41 from michelk/compilable-example
Adapt example in README to make it compile
2023-06-01 18:19:41 +02:00
Michel Kuhlmann
032898f5d6 Adapt example in README to make it compile 2023-06-01 18:08:04 +02:00