wire-server
wire-server copied to clipboard
Federation API versions
https://wearezeta.atlassian.net/browse/FS-1203
Checklist
- [ ] Add a new entry in an appropriate subdirectory of
changelog.d
- [ ] Read and follow the PR guidelines
Building library for wire-api-0.1.0..
[130 of 149] Compiling Wire.API.Routes.Version ( src/Wire/API/Routes/Version.hs, /home/mf/src/wire-server/dist-newstyle/build/x86_64-linux/ghc-9.2.7/wire-api-0.1.0/noopt/build/Wire/API/Routes/Version.o, /home/mf/src/wire-server/dist-newstyle/build/x86_64-linux/ghc-9.2.7/wire-api-0.1.0/noopt/build/Wire/API/Routes/Version.dyn_o )
src/Wire/API/Routes/Version.hs:122:28: error:
• Can't make a derived instance of ‘Generic (VersionNumber v)’
(even with cunning GeneralizedNewtypeDeriving):
VersionNumber must not have a datatype context
• In the newtype declaration for ‘VersionNumber’
|
122 | deriving (Eq, Ord, Show, Generic)
I'm going to read up on Generic
and try and find a nice solution for this now.