mig icon indicating copy to clipboard operation
mig copied to clipboard

Lightweight and composable servers for Haskell

Results 11 mig issues
Sort by recently updated
recently updated
newest added

Creates library for simple interfaces for common server tasks: * Logging * DB * etc.

We can create benchmarks and try to improve internals to make server better.

enhancement

We can define any type suitable for clients and make a client for it with toClient function. No error will prevent us from convertion to wrong type. From server definition...

enhancement

We can derive `ToClient` for any record type if all fields are also inside `ToClient` with generics. If we implement it we can write the client code: ```haskell data Routes...

enhancement

We can generate API-types, server stub and client. From openapi schema. By openapi input it will generate 3 packages: * foo-api-types * foo-server * foo-client The server is defined in...

Streaming case is missing for HTTP-response.

we can cover most useful cases with recipes. It can be a chapter in the tutorial like `FAQ`.

documentation

We can add similiar to servant case CaptureAll which packs all path items at the end to list: ```haskell newtype CaptureAll = CaptureAll [Text] ``` See servant-openapi3 for how to...

enhancement

Error: ```txt Failed to build mig-swagger-ui-0.1.0.1. Build log ( /home/user/.cache/cabal/logs/ghc-9.6.6/mig-swagger-ui-0.1.0.1-4af48f9593fb22b089e9038b08d7709cf739c13aa3df0f0ab2acc6a5a4d642cc.log ): Configuring library for mig-swagger-ui-0.1.0.1... Preprocessing library for mig-swagger-ui-0.1.0.1... Building library for mig-swagger-ui-0.1.0.1... [1 of 2] Compiling Mig.Swagger ( src/Mig/Swagger.hs,...