-
Notifications
You must be signed in to change notification settings - Fork 326
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
delete non-empty IdPs #1068
delete non-empty IdPs #1068
Conversation
nope, not yet working, fix coming up. |
7c31145
to
930f832
Compare
ah, there it is. never mind. :) |
getUserBrig uid = do | ||
env <- ask | ||
let req = | ||
(env ^. teBrig) . path "/self" |
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.
Prefer if we stop calling "user-facing" endpoints from service to service. We should instead only use internal endpoints between services
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.
ah, i agreed with you when you wrote this, but i just realized that luckily this is not service-to-server, but integration-test-to-service. i suppose that's legit?
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.
Well it's copied from a place in spar which actually is service-to-service :P
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.
ah. right. so, i'm happy to take on the task of refactoring this properly, over our entire code base. but that's a separate concern, and the helper in the tests can stay! :)
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.
Given the comments, approved
0d6db56
to
a4fd270
Compare
a4fd270
to
c6f3de3
Compare
https://github.com/zinfra/backend-issues/issues/1295
This is based on #1065, I can rebase this when that is merged.