You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it looks like, because of how named-routes must be implemented, we get an overlapping instance warning if we have a custom route that also does a 302 redirect:
the error is:
• Overlapping instances for Servant.Server.Internal.HasServer
(Servant.Auth.Server.Internal.AddSetCookie.AddSetCookieApi
(Servant.Auth.Server.Internal.AddSetCookie.AddSetCookieApi
(UVerb 'GET '[HTML] '[WithStatus 302 Redirect])))
'[Servant.Auth.Server.Internal.ConfigTypes.CookieSettings,
Servant.Auth.Server.Internal.ConfigTypes.JWTSettings]
arising from a use of ‘genericServeTWithContext’
it looks like, because of how named-routes must be implemented, we get an overlapping instance warning if we have a custom route that also does a 302 redirect:
the error is:
my own code had a custom route like:
a hacky "fix" is just to remove this route; then it compiles
can prepare a full working repro a bit later, if it's useful
my
app
looks something like:The text was updated successfully, but these errors were encountered: