Alejandro Serrano
3d0a80e374
Fixes #342
2023-01-07 21:38:41 +01:00
Alejandro Serrano
63e278db7e
Fix thingies
2023-01-07 21:26:23 +01:00
Alejandro Serrano
7e65541688
Update to Stackage LTS 18 ( #332 )
2022-05-12 07:54:09 +02:00
Alejandro Serrano
c045fdab1e
Support unions of more than 2 elements correctly ( #308 )
2021-05-10 21:31:30 +02:00
Alejandro Serrano
1d8319ef98
[protobuf] Fix parsing of oneof fields ( #302 )
...
Closes #297
In protobuf, unions themselves are optional, so while parsing if any value fails
to parse, its default must not be considered. When the default is considered and
first value in the union is not specified, the union still gets parsed as the
default of the first value. So, in this instance:
oneof foo {
int32 foo_int = 1;
string foo_str = 2;
}
foo_str will never be parsed, as foo_int will have a default, i.e. 0 and so
foo_str "blah" will always wrongly parse as foo_int 0.
Co-authored-by: Akshay Mankar <itsakshaymankar@gmail.com>
2021-04-30 13:17:11 +02:00
Alejandro Serrano
b0fc97efce
Update mu.avro version
2021-02-08 10:54:12 +01:00
Alejandro Serrano
8aa4d4b2b7
Update mu-schema version to 0.3.1.2 ( #287 )
2021-02-02 17:48:16 +01:00
Alejandro Serrano
9dc4d5f359
Use and require default value 0 for enums in Protobuf ( #285 )
2021-01-29 08:35:54 +01:00
Alejandro Serrano
cedc7ce9f7
Bump to LTS-17.0 ( #284 )
2021-01-28 10:23:43 +01:00
Alejandro Serrano
e9d55fd6bf
Unions in GraphQL ( #270 )
2021-01-07 14:55:32 +01:00
Alejandro Serrano
32af0bf0b3
Maps in Protocol Buffers ( #268 )
...
And various fixes in Avro required for everything to still work.
Co-authored-by: Flavio Corpa <flavio.corpa@47deg.com>
2020-12-01 10:50:59 +01:00
Alejandro Serrano
306d206624
Update mu-protobuf version
2020-11-23 09:24:10 +01:00
Akshay Mankar
c94055c935
Support nested types in GRpc methods ( #266 )
2020-11-23 09:16:58 +01:00
Flavio Corpa
62f9d155b8
❄️ Add gitignore.nix to prevent Nix cache invalidation for trivial changes ( #265 )
2020-11-20 11:15:47 +01:00
Flavio Corpa
f692c90aeb
♻️ Run cabal-fmt and extract library example ( #264 )
2020-11-20 10:24:15 +01:00
Alejandro Serrano
2c8a1e6195
Final changes pre-release
2020-11-19 09:47:14 +01:00
Akshay Mankar
f9486bfb47
Protobuf nested types ( #260 )
2020-11-17 10:21:45 +01:00
Alejandro Serrano
37d6762883
Fix GraphQL example + pools in mu-persistent ( #261 )
2020-11-17 10:05:19 +01:00
Alejandro Serrano
94f0e4e03e
Loosen bounds, update dependencies, support LTS-14 ( #253 )
2020-11-12 13:09:35 +01:00
Akshay Mankar
fbeccc34a9
protobuf: Translate unsigned integers to corresponding Word types ( #246 )
2020-11-09 09:08:47 +01:00
Alejandro Serrano
b1ce902f96
Add HLint to CI and fix templates ( #243 )
2020-11-02 09:42:35 +01:00
Alejandro Serrano
3a31b9b559
Use first-class-families to find selectors ( #242 )
2020-10-30 11:53:21 +01:00
Akshay Mankar
cc6c73f05b
Include avdl data files with mu-avro source dist ( #238 )
2020-10-23 17:28:25 +02:00
Alejandro Serrano
7f3af804ff
Prepare release 0.4 ( #233 )
2020-10-12 14:56:18 +02:00
Alejandro Serrano
fc423dc387
Keep all annotations from .proto files ( #222 )
...
Co-authored-by: Flavio Corpa <flavio.corpa@47deg.com>
2020-09-04 14:36:02 +02:00
Alejandro Serrano
fe76f23083
Fix import of 'oneof' fields ( #221 )
2020-09-04 12:57:33 +02:00
Alejandro Serrano
ebf095cf68
Be more explicit about Protobuf defaults in docs and code ( #210 )
2020-07-20 10:40:48 +02:00
Flavio Corpa
7facbb2a13
Add boundaries to Cabal files 🚀 ( #207 )
...
Co-authored-by: Alejandro Serrano <trupill@gmail.com>
2020-07-03 16:58:26 +02:00
Alejandro Serrano
c92f97d0ec
Add needed kind signatures ( #201 )
2020-06-18 14:33:53 +02:00
Chris Birchall
c0b8024ecd
Update the avdl
Template Haskell codegen ( #199 )
...
The generated code was failing to typecheck due to API changes in #198 .
Added an example to check that code generated by the `avdl` function now
compiles.
2020-06-16 15:26:21 +02:00
Alejandro Serrano
d6ade8e6ed
Annotations, information on RPC, and Prometheus ( #198 )
2020-06-12 17:57:19 +02:00
Alejandro Serrano
c6b67332f2
Various fixes for Avro encoding ( #194 )
2020-05-26 11:06:45 +02:00
Flavio Corpa
1f96833f9a
Release v0.3 ( #187 )
...
Co-authored-by: Alejandro Serrano <trupill@gmail.com>
2020-04-28 18:05:40 +02:00
Alejandro Serrano
f0cd4fc5bd
Add Haddocks for 0.3 and fix problems with new Haddock ( #179 )
2020-04-17 10:24:52 +02:00
Flavio Corpa
11ae24d8da
Use new server API in examples and upgrade deps ⚗️ ( #178 )
2020-04-15 14:04:54 +02:00
Alejandro Serrano
276d330c00
Packed fields in Protocol Buffers ( #170 )
2020-04-02 13:45:06 +02:00
Alejandro Serrano
09ae8c19bb
Support 'avro' 0.5 ( #164 )
...
Co-authored-by: Flavio Corpa <flavio.corpa@47deg.com>
2020-04-01 15:30:22 +02:00
Chris Birchall
f062c5bbde
Fix documenation and error message for avdl parsing ( #167 )
2020-03-31 15:47:29 +02:00
Alejandro Serrano
7dab092b81
Remove higher-kinded data ( #130 )
2020-03-09 14:55:22 +01:00
Alejandro Serrano
6bbfce82eb
Support default values in GraphQL schemas ( #129 )
2020-03-06 16:46:39 +01:00
Alejandro Serrano
d91f25f569
Add names to arguments ( #126 )
2020-03-06 09:12:35 +01:00
Alejandro Serrano
c1c23326ef
New API to support GraphQL resolvers as services ( #111 )
...
Co-authored-by: Flavio Corpa <flavio.corpa@47deg.com>
2020-03-05 15:37:05 +01:00
Flavio Corpa
98dfa4ce80
Prefer Avro.Schema over Type (deprecated) ( #117 )
2020-02-28 12:18:10 +01:00
Flavio Corpa
5215b5a8a7
Make Mu.Avro depend on language-avro >= 0.1.2 ( #116 )
2020-02-28 11:35:52 +01:00
Alejandro Serrano
009626904c
Add support for "date" and "time_ms" logical types in Avro ( #114 )
...
Co-authored-by: Flavio Corpa <flavio.corpa@47deg.com>
2020-02-28 10:09:59 +01:00
Flavio Corpa
4444d6d85d
Release v0.2 ( #113 )
...
* Add shell script to format ALL cabal files with cabal-fmt 🧐
2020-02-27 07:40:30 +01:00
Flavio Corpa
c4075100c4
Update mu-haskell to use avro-parser-haskell-0.1.1 ( #112 )
2020-02-26 10:29:00 +01:00
Alejandro Serrano
f5eb2f99cd
Use newer Avro parser to support decimals ( #109 )
2020-02-17 09:18:14 +01:00
Alejandro Serrano
3604a0b24c
Simple Kafka client ( #104 )
...
Co-authored-by: Flavio Corpa <flavio.corpa@47deg.com>
2020-02-06 14:42:27 +01:00
Alejandro Serrano
49742382f9
Support for Avro as serialisation layer ( #88 )
...
Co-authored-by: Flavio Corpa <flavio.corpa@47deg.com>
2020-02-06 11:39:09 +01:00