Closed ysangkok closed 2 years ago
@ysangkok,
text-2.0
is in the hashable
package. instance Hashable Text
changed, see here for more details: https://github.com/haskell-unordered-containers/hashable/pull/234/files.swagger2
we're relying on HashMap
or some variant of it which requires Hashable
.Could you please include CPP wrapper around failing doctests to support MIN_VERSION_text(2,0,0)
?
The diff could be obtained from doctests results.
@swamp-agr I added the CPP as suggested.
Thanks @ysangkok! I will make a minor release later today.
swagger2-2.8.2
was released on Hackage: https://hackage.haskell.org/package/swagger2-2.8.2
Sadly the doctests fail because the ordering of the required keys changes with text-2.0. I don't know the source so well, so I havn't attempted fixing this.
Fails:
Passes:
Thanks for your work!