Commit Graph

192 Commits

Author SHA1 Message Date
Alejandro Serrano
7674ef0922
Add API for exceptional error conditions (#25) 2019-11-25 14:12:30 +01:00
Flavio Corpa
142a6982a1
Add example todolist (#24)
* Start work on todolist example 

* Fix .proto and implement Definition! 📚

* start work on server

* Implement server! 🚀

* Finish server! 💻

* apply feedback! 🧼

* prevent t to change between calls 🐛

* cleanup
2019-11-25 10:17:22 +00:00
Flavio Corpa
e0910afd5f
Run stylish-haskell in all files! 💅🏼 (#23)
* Run stylish-haskell in all files! 💅🏼
2019-11-21 13:25:53 +01:00
Alejandro Serrano
2cd09028a2 Depend on released packages 2019-11-18 12:28:53 +01:00
Alejandro Serrano
bff6493981
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
1baa38c3fc
Initial implementation of Compendium client (#17) 2019-11-18 09:54:00 +01:00
Alejandro Serrano
a688b081c1
Implement unions for Avro and JSON (#20) 2019-11-18 09:52:50 +01:00
Flavio Corpa
620dc64644
Parse Avro Schemas from JSON (#18)
* stylish-haskell 💅🏼

* fix minor typos

* prepare avro QuasiQuoter

* Implement QuasiQuoter! 🎉

* make travis happy :)

* Implement unions and add examples

* fix ByteString encoding + [avroFile|example] 🐛

* Handle TOption case ⌥

* Unwrap first union and contemplate other cases! 🙌🏼

* Start work on flattenDeclarations and revert stylistic changes

* Handle nested schemas! 🕸

* fix travis 🤦🏼‍♂️
2019-11-18 09:39:23 +01:00
Alejandro Serrano
6674d7eebc Depend on released versions of packages instead of git commits 2019-11-04 16:30:26 +01:00
Alejandro Serrano
ec68ff9c3b More fixes for GHC-8.8 2019-11-04 11:52:57 +01:00
Alejandro Serrano
659dbc6362 Typo for GHC-8.8 2019-11-04 11:32:51 +01:00
Alejandro Serrano
0e45d0078f Fix TH for GHC-8.8 2019-11-04 11:07:27 +01:00
Alejandro Serrano
bb28d0181e Update docs 2019-11-04 11:00:09 +01:00
Alejandro Serrano
a82ad54e30 Fix weird bug which would not happen in GHC-8.6 2019-11-04 10:34:53 +01:00
Alejandro Serrano
dc067cfff8 Test with nightly in addition to LTS 2019-11-04 09:50:27 +01:00
Alejandro Serrano
8b9e7fd147 check that Travis works 2019-10-30 10:53:11 +01:00
Alejandro Serrano
eb82dbea03 Add Travis CI 2019-10-30 10:48:13 +01:00
Alejandro Serrano
3e75377498 Reorganization and documentation 2019-10-30 10:00:22 +01:00
Alejandro Serrano
d6b2677f11 Quasi-quotation for grpc services 2019-10-29 16:52:27 +01:00
Alejandro Serrano
7a21b5511c Quasiquotation for message types 2019-10-29 15:51:46 +01:00
Alejandro Serrano
4e00ffaca1 Make bidi gRpc streams work concurrently 2019-10-28 14:33:30 +01:00
Alejandro Serrano
d504bae4f4 Work on route guide example 2019-10-28 14:21:27 +01:00
Alejandro Serrano
6cf7ee0522 Better inference for gRpc 2019-10-28 10:43:12 +01:00
Alejandro Serrano
e6755b34c0 Forgotten change 2019-10-28 10:32:48 +01:00
Alejandro Serrano
34b61e7558 Use OverlodadedLabels instead of TH 2019-10-28 10:31:46 +01:00
Alejandro Serrano
e4e74fbba8 Update Stack LTS and examples 2019-10-28 10:06:29 +01:00
Alejandro Serrano
f61557f418 Add example by hand for mu-haskell 2019-10-17 15:47:34 +02:00
Alejandro Serrano
ffa29c073c Generate TH for client records 2019-10-17 15:14:33 +02:00
Alejandro Serrano
81570ca2b7 Update deployment example 2019-10-15 21:51:38 +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
8f82efec84 Term-level schemas (closes #9) 2019-10-14 16:48:53 +02:00
Alejandro Serrano
56f46fd2bd Separate generated from hand-written code in health check example 2019-10-14 16:24:10 +02:00
Alejandro Serrano
c6fd02933b Make health check example nicer with TH 2019-10-14 16:08:54 +02:00
Alejandro Serrano
820703b8d7 Implement TH for schema types (#11) 2019-10-14 16:00:16 +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
44e857279a Start working on Template Haskell code 2019-10-10 14:04:36 +02:00
Alejandro Serrano
f723dcc298 Update docs 2019-10-10 11:14:05 +02:00
Alejandro Serrano
227ec83bef Implement client definition via records 2019-10-10 11:05:50 +02:00
Alejandro Serrano
32b1a54a9f Move 'deployment-examples' to 'examples' 2019-10-10 10:30:20 +02:00
Alejandro Serrano
a834fcefe8 Finish port of health-check example from Scala 2019-10-10 10:27:42 +02:00
Alejandro Serrano
ee0860a4d7 Implement new design for protobuf ids 2019-10-10 09:29:44 +02:00
Alejandro Serrano
eb6f486f47 Move schemaless and introduce anonymous interpretations 2019-10-09 20:31:20 +02:00
Alejandro Serrano
facba09d72 Add missing generic instance 2019-10-09 20:31:03 +02:00
Alejandro Serrano
49651acf82 Fix problems with health check service 2019-10-09 16:51:50 +02:00
Alejandro Serrano
f7838b750d Initial commit of "health check" example 2019-10-09 16:40:33 +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
28561d408e Start working on examples 2019-10-09 15:21:21 +02:00