-
Notifications
You must be signed in to change notification settings - Fork 325
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
Remove autoconnect functionality; deprecate end-point. #1005
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice that you picked it up so quickly, just some details.
services/brig/src/Brig/API.hs
Outdated
ab <- parseJsonBody r | ||
json <$> API.onboarding uid ab !>> connError | ||
-- | DEPRECATED / does nothing. | ||
onboardingH :: JSON ::: UserId ::: JsonRequest Value -> Handler Response |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we still want to return {"results":[],"auto-connects":[]}
, so clients don't choke on the response.
So we could either leave the MatchingResult
type and do pure $ MatchingResult [] []
here, or just produce a JSON Value with the right fields.
Maybe this structure should also still be documented in Swagger.
Thanks! I am against keeping the swagger docs for the body type, but if you feel strongly about it let me know and I'll do it. |
a59e159
to
3c2e01f
Compare
This is more dead code forgotten to be removed in #1005 when auto-connect was disabled.
This is more dead code forgotten to be removed in #1005 when auto-connect was disabled.
…ever read anymore since 'onboarding' / auto-connect was removed in #1005
…ever read anymore since 'onboarding' / auto-connect was removed in #1005
they are never read anymore since 'onboarding' / auto-connect was removed in #1005
they are never read anymore since 'onboarding' / auto-connect was removed in #1005
they are never read anymore since 'onboarding' / auto-connect was removed in #1005
They are never read anymore since 'onboarding' / auto-connect was removed in #1005
https://github.com/zinfra/backend-issues/issues/557#issuecomment-595668101