Comments (1)
Won't fix.
In servant:
- the
Maybe
indicate the absence ofQueryParam
. - you should
- either use a newtype to special case
""
case (which isn't validInt
) - use
QueryParam' '[Optional, Lenient]
so you'll getMaybe (Either Text a)
and then you can do parsing choices in the hander.
- either use a newtype to special case
from http-api-data.
Related Issues (20)
- FormUrlEncoded is vulnerable to HashDOS attacks. HOT 1
- Preventing the anyclass deriving of ToHttpApiData and FromHttpApiData HOT 4
- Support GHC-9.6
- How to deal with generic deriving for non-flat records
- GFromForm for Bool
- Update README HOT 3
- Use quickcheck-instances for tests HOT 1
- Test failures with GHC 8.2.1rc-2 HOT 3
- Add instances for `SetCookie` HOT 4
- Incorrect lower-bounds
- Support for Cabal 2.2? HOT 10
- Add instances for Data.Fixed
- Why don't toQueryParam or toUrlPiece actually url-encode the data? HOT 3
- toUrlPiece for NominalDiffTime loses precision HOT 6
- Allow base-4.12.0.0 HOT 3
- Why does `showTextData` convert everything to lower case HOT 3
- FromForm and ToForm instances for (,) and Either HOT 5
- Allow base-4.13.0.0 HOT 5
- ToHttpApiData instances for ToJSON instances
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from http-api-data.