haskell-servant / servant-elm

Automatically derive Elm functions to query servant webservices
BSD 3-Clause "New" or "Revised" License
164 stars 48 forks source link

Fix URL query identifiers #25

Closed domenkozar closed 7 years ago

domenkozar commented 7 years ago

When constructing the final URL, use the original identifier.

Before:

http://localhost:8081/api/channel/files?query_q=git

After:

http://localhost:8081/api/channel/files?q=git

cc @mattjbray

mattjbray commented 7 years ago

Thanks! I was a bit overzealous with the find-replace in the test suite.