Move Test.Hspec.Wai.JSON into a separate package
agrafix opened this issue · comments
Would it be possible to move Test.Hspec.Wai.JSON
to a separate package? I think that testing for a specific JSON is useful in some cases, but there are still a lot of WAI Apps that don't need that. And for those installing the dependency aeson-qq
(which installs haskell-src-meta
; haskell-src-exts
) takes very long and is useless...
That is why we created the shakespeare package which aesonqq could use instead
Yeah, but if I don't have any json to check it would be could to live completely without it :-)
@agrafix I know that the current situation with haskell-src-exts
is a pain. As we have the same issue with interpolate
, I would eventually want to have a more lightweight parser for Haskell expressions.
Originally I intended to have Test.Hspec.Wai
and Test.Hspec.Wai.JSON
in separate packages but as we assumed that the most common case is to test JSON APIs, we ended up putting them into one package. I'm happy to split them up.
@gregwebs do you support arbitrary Haskell expressions for interpolation in shakespeare
? If yes, how do you do it?