Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebSocket with Servant.Auth: overlapping instance for HasServer #12

Open
Gab0 opened this issue Dec 17, 2022 · 0 comments
Open

WebSocket with Servant.Auth: overlapping instance for HasServer #12

Gab0 opened this issue Dec 17, 2022 · 0 comments

Comments

@Gab0
Copy link

Gab0 commented Dec 17, 2022

Pairing Servant.Auth authentication with a Servant.WebSockets endpoint yields an overlapping instances error.

     Overlapping instances for HasServer
                                  (Servant.Auth.Server.Internal.AddSetCookie.AddSetCookieApi
                                     (Servant.Auth.Server.Internal.AddSetCookie.AddSetCookieApi
                                        Servant.API.WebSocket.WebSocketPending))
                                  '[Backend ByteString, CookieSettings, JWTSettings]
        arising from a use of hoistServerWithContext

This error was mentioned in a comment in #2. Does anyone know how solve this or have an idea on how to start?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant