Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use full header type in response header instances #1697

Merged

Commits on Jul 22, 2023

  1. Use Header' in response headers

    Use `Header'` instead of `Header` in response, so it's possible to provide
    `Description`, for example:
    
    ```
    type PaginationTotalCountHeader =
      Header'
        '[ Description "Indicates to the client total count of items in collection"
         , Optional
         , Strict
         ]
        "Total-Count"
        Int
    ```
    
    Note: if you want to add header with description you should use `addHeader'`
    or `noHeader'` which accepts `Header'` with all modifiers.
    worm2fed committed Jul 22, 2023
    Configuration menu
    Copy the full SHA
    89680f8 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2023

  1. Configuration menu
    Copy the full SHA
    fb3c99c View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2023

  1. Configuration menu
    Copy the full SHA
    63eb6c0 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2023

  1. Configuration menu
    Copy the full SHA
    37e2b19 View commit details
    Browse the repository at this point in the history
  2. Add servant-auth to stack.yaml

    It's in `cabal.project`, but not in `stack.yaml`.
    Actually, there is more packages in `cabal.project` - `doc/cookbook/*`,
    but stack is not happy with their cabal files and asks to rename, so
    I do not add them.
    worm2fed committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    ad72460 View commit details
    Browse the repository at this point in the history