-
Notifications
You must be signed in to change notification settings - Fork 75
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
Tagless final refactor #344
Conversation
…ion, added runtime implicits, added User alg interpretation
… as default param, added headers as default param
…oken as a default parameter
applied some refactoring to have clean layers
# Conflicts: # project/ProjectPlugin.scala
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.
Tremendous amount of work 🔥
github4s/src/main/scala/github4s/interpreters/UsersInterpreter.scala
Outdated
Show resolved
Hide resolved
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.
Excellent work @bond15 ! I only have a few minor stylistic nitpicks.
github4s/src/main/scala/github4s/interpreters/RepositoriesInterpreter.scala
Outdated
Show resolved
Hide resolved
github4s/src/main/scala/github4s/interpreters/OrganizationsInterpreter.scala
Outdated
Show resolved
Hide resolved
github4s/src/main/scala/github4s/interpreters/PullRequestsInterpreter.scala
Show resolved
Hide resolved
github4s/src/main/scala/github4s/interpreters/RepositoriesInterpreter.scala
Show resolved
Hide resolved
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.
Great work !!! 💯 👌
Minor coment.
One question:
What do you think if we put all the API URLs in a separate file? It would be much easier to read in my opinion.
github4s/src/main/scala/github4s/interpreters/RepositoriesInterpreter.scala
Outdated
Show resolved
Hide resolved
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.
Massive work @bond15 !! 👏
I've left only a few minor comments
Hmm... Seems every few times the integration tests are run, "RemoveLabel" fails.. looking into this. So far, I am not able to reproduce this error in my local integration tests |
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.
Outstanding job @bond15 ! Really excited about the diff ❗️
+3,008 −11,076
🎉
github4s/src/test/scala/github4s/integration/GHActivitiesSpec.scala
Outdated
Show resolved
Hide resolved
Thanks @anamariamv @angoglez @BenFradet @L-Lavigne @juanpedromoreno for this amazing code review. |
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.
💪 thanks @bond15 !
Everything except mocked server unit tests.