reason-native-web / morph

A webframework for Reason and OCaml
https://reason-native-web.github.io/morph/
MIT License
139 stars 7 forks source link

Change the type of body to be polymorphic #13

Closed ulrikstrid closed 5 years ago

ulrikstrid commented 5 years ago

It's easier to create response bodys this way and in theory someone can extend the body and handle that in a middleware

shawn-mcginty commented 5 years ago

Looks good to me 👍