wire-server icon indicating copy to clipboard operation
wire-server copied to clipboard

Federation API versions

Open fisx opened this issue 1 year ago • 2 comments

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

fisx avatar Apr 21 '23 12:04 fisx

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.

fisx avatar Apr 21 '23 12:04 fisx

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar May 10 '23 07:05 CLAassistant