Generate typed PureScript query functions for your servant-api. Find an example, including the generated code in examples/central-counter.
readerParams
in Settings
.Apart from the above basic usage example, the documentation is still lacking. For the purescript side make sure you have purescript-servant-support and purescript-argonaut-generic-codecs installed, otherwise the generated code will not compile.
It works!
Documentation is yet to come, but there is a usage example in examples/central-counter which also uses servant-subscriber for counter live updates. Generated code is only partly tested, especially Query parameters are still completely untested.
For type translations purescript-bridge is used.