packages feed

servant-queryparam-core-1.0.0: servant-queryparam-core.cabal

cabal-version: 2.2
name:          servant-queryparam-core
synopsis:      Use records for query parameters in servant APIs.
version:       1.0.0
maintainer:    Danila Danko <https://github.com/deemp>
author:        Kristof Bastiaensen
copyright:     Kristof Bastiaensen 2020
license:       BSD-3-Clause
build-type:    Simple
category:      Servant, Web
description:
  Having positional parameters in @servant@ can be error-prone, especially when there are a lot of them and they have similar types.
  This package solves that problem by letting one use records to specify query parameters in @servant@ APIs.
  Use [servant-queryparam-server](https://hackage.haskell.org/package/servant-queryparam-server) for servers and [servant-queryparam-client](https://hackage.haskell.org/package/servant-queryparam-client) for clients.

source-repository head
  type:     git
  location: https://github.com/deemp/servant-queryparam

library
  default-language: GHC2021
  ghc-options:      -Wall
  exposed-modules:
    Servant.Record
    Servant.TypeLevel

  hs-source-dirs:   src
  build-depends:
    , base                  >=4.16    && <5
    , first-class-families  >=0.8.0.0
    , servant               >=0.19