Commit Graph

46 Commits

Author SHA1 Message Date
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
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
Alejandro Serrano
22f7f740a0 Optics for schema and gRPC clients (#102) 2020-02-04 15:31:47 +01:00
Flavio Corpa
4b5f500e53 Allow newer versions of Stack (lts-14.20) 🆕 (#91) 2020-01-23 12:59:44 +01:00
Alejandro Serrano
cadd377f5c Various fixes to make gRPC server work (#84)
* Better capture exceptions in gRPC server
* Require Warp < 3.3
* Adjust template to work correctly
2020-01-16 10:11:38 +01:00
Flavio Corpa
cdca93a338 Fill all cabal files for Hackage! 🚀 (#72) 2020-01-13 11:05:25 +01:00
Alejandro Serrano
ea8e2a0b75 More thorough Haddock documentation (#65)
Closes #62

Co-authored-by: Flavio Corpa <flavio.corpa@47deg.com>
2020-01-07 15:14:21 +01:00
Alejandro Serrano
603462666e Make ghcide happy (#49) 2019-12-19 14:41:57 +01:00
Alejandro Serrano
00af3d6a34 Higher-kinded data and To/FromSchema separation (#41)
Closes #39
2019-12-16 13:46:43 +01:00
Flavio Corpa
45a44a1145 Add persistent client to example 👨🏼‍💻 (#44) 2019-12-16 12:29:13 +01:00
Flavio Corpa
008dc554a3 Implement Persistent example 💾 (#40) 2019-12-13 13:15:18 +01:00
Alejandro Serrano
fbc0693a39 Work on docs (#37)
Fixes #31
Fixes #36

Co-Authored-By: Flavio Corpa <flavio.corpa@47deg.com>
2019-12-10 17:06:36 +01:00
Alejandro Serrano
0ef0f9f7f4 Add support for logging and other transformers (#35)
Fixes #32
2019-12-05 14:03:10 +01:00
Alejandro Serrano
8451e3d670 Separate annotations from core schema type 🖋 (#29) 2019-12-04 12:35:05 +01:00
Alejandro Serrano
1ec0f4869f Add API for exceptional error conditions (#25) 2019-11-25 14:12:30 +01:00
Flavio Corpa
80041294b0 Run stylish-haskell in all files! 💅🏼 (#23)
* Run stylish-haskell in all files! 💅🏼
2019-11-21 13:25:53 +01:00
Alejandro Serrano
2005502783 Separate packages (#21)
* Separate Avro and ProtoBuf things in their own adapter packages
* Separate grpc packages in client and server

Fixes #19
2019-11-18 12:23:57 +01:00
Alejandro Serrano
3e75377498 Reorganization and documentation 2019-10-30 10:00:22 +01:00
Alejandro Serrano
4e00ffaca1 Make bidi gRpc streams work concurrently 2019-10-28 14:33:30 +01:00
Alejandro Serrano
6cf7ee0522 Better inference for gRpc 2019-10-28 10:43:12 +01:00
Alejandro Serrano
ffa29c073c Generate TH for client records 2019-10-17 15:14:33 +02:00
Alejandro Serrano
f399032c9f Upgrade to new version of http2-client-grpc and warp-grpc 2019-10-15 21:46:44 +02:00
Alejandro Serrano
500824918e Support for prefixes in buildService (see #15) 2019-10-14 10:32:06 +02:00
Alejandro Serrano
1a622883ef Make Registry a proper type (closes #16) 2019-10-14 10:26:01 +02:00
Alejandro Serrano
e6b392965c Implement annotations for services (closes #14) 2019-10-14 10:18:09 +02:00
Alejandro Serrano
227ec83bef Implement client definition via records 2019-10-10 11:05:50 +02:00
Alejandro Serrano
a834fcefe8 Finish port of health-check example from Scala 2019-10-10 10:27:42 +02:00
Alejandro Serrano
db306b8b62 Work on empty args and results for gRPC 2019-10-09 16:39:55 +02:00
Alejandro Serrano
f59d657b98 Implement no args and no return for GRpc 2019-10-09 15:43:21 +02:00
Alejandro Serrano
02d97e052f Fix small warnings 2019-10-08 12:04:12 +02:00
Alejandro Serrano
8005dba3bb Add registry to RPC definitions and gRPC support 2019-10-08 12:01:14 +02:00
Alejandro Serrano
ef5faaa31c Fix logic in client gRpc 2019-10-03 15:58:41 +02:00
Alejandro Serrano
0f32c0bd27 Example of bidirectional gRpc client 2019-10-03 15:08:44 +02:00
Alejandro Serrano
d8f58d6081 Fix warnings 2019-10-03 15:08:34 +02:00
Alejandro Serrano
9f4372a400 Bidirectional gRpc streams compile 2019-10-03 15:00:43 +02:00
Alejandro Serrano
4699bd4d2f More ways to call a gRpc client 2019-10-03 14:41:14 +02:00
Alejandro Serrano
2fdf0440eb Client gRpc example 2019-10-03 12:51:00 +02:00
Alejandro Serrano
98d004234c Initial version of gRpc clients 2019-10-03 12:36:07 +02:00
Alejandro Serrano
aaa8ff4fb5 Preparation for work on gRPC clients 2019-10-03 11:49:26 +02:00
Alejandro Serrano
7058a92eb0 Fix bugs for gRPC 2019-10-02 14:20:08 +02:00
Alejandro Serrano
9521e4fd58 Work on client and serve streaming for gRpc 2019-10-02 12:43:56 +02:00
Alejandro Serrano
f6e1b23a18 First working version of mu-grpc + example 2019-10-02 11:25:59 +02:00
Alejandro Serrano
9e0039af9e Add changelogs because Cabal requires them 2019-10-02 11:25:23 +02:00
Alejandro Serrano
2e3b67a15f Redefine what Server is and start working on gRPC 2019-10-01 17:26:06 +02:00
Alejandro Serrano
16f822e791 Set Stack to get the forked warp-grpc library 2019-10-01 14:55:46 +02:00
Alejandro Serrano
36ca7bdebb Initial files for mu-grpc 2019-10-01 11:02:05 +02:00