haskell-servant / haskell-servant/servant

Compilation: Servant.API.QueryString does not export DecodedQuery

Open Beginner friendly
#1,909 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
2k
Forks
427
Avg merge
2d 23h
Merged PRs (30d)
5

Description

I'm trying to compile servant-server https://github.com/haskell-servant/servant/commit/ddf13871b88d0787a478575350b31cef2bc6c60c against a git version of servant from yesterday with GHC 9.6.7 leading to:

```
[12 of 19] Compiling Servant.Server.Internal

src/Servant/Server/Internal.hs:134:33: error:
Module ‘Servant.API.QueryString’ does not export ‘DecodedQuery’
|
134 | import Servant.API.QueryString (DecodedQuery, FromDeepQuery (..))
| ^^^^^^^^^^^^

```

probably broken by https://github.com/haskell-servant/servant/pull/1901/changes

Contributor guide

Open the contributing guide

Research direction

Start with the import in src/Servant/Server/Internal.hs and compare the Servant.API.QueryString exports with the changes in pull request #1901. Rebuild servant-server with GHC 9.6.7; done means the DecodedQuery import resolves and compilation completes.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.