Commit 5849584
Tagless final refactor (#344)
* initial refactoring from free monad to tagless final
* Added Algebras
* Refactored HttpClient, temporarily bypassing HttpRequestBuilderExtension, added runtime implicits, added User alg interpretation
* moving /free/domain to /taglessFinal/domain
* Adding interpreters for algebras. Interpreters target the /api classes
* reformatted/linted, remove ADTs from algebras, added more implicit runtime instnaces
* updated algebra signatures to match existing api, removed accessToken as default param, added headers as default param
* Modified intepreters to fit new algebra definitions and take accessToken as a default parameter
* removing free monad implementation
* updating GHWorkflow and Github
* for Rafa review
* pre merge
* Updated F type constraint F[_]: Applicative -> F[_]: ConcurrentEffect
* For Rafa comment, progress on replacing scalaj-http with http4s
* For Rafa review and refactor
* applied some refactoring to have clean layers
* Adding toFutue and toId syntax for IO[A]
* removing unit tests associated with deleted classes
* For Rafa Review, unit tests
* updating unit tests for interpreters
* unit test linting
* refactoring integration test to match new api usage
* updating unit and integration test base spec
* linting and updating scala version 2.13 and blaze client
* fixing TestData for integration test
* Updateding FakeResponses for Decoder testing
* fix integration test, pull GITHUB4S_ACCESS_TOKEN from sys env
* upgrades some models
* Revert "upgrades some models"
This reverts commit 4771d05
* fixes the unit tests
* removes commented import
* fixes the decoders issue for the new http client
* proves the organization's members with the proper token
* enables commented suites
* ignores temporally a test because we are getting permission issues
* Updating documentation, initial draft
* Update contributing.md
* fixing github doc links
* cleaning interpreter imports, retarget issue for testing (123 -> 17)
* remove old api tests
* remove mock-server dependency, change http4s version
* switching to compile-only check in documentation. mdoc:silent -> mdoc:compile-only
* Address Ben F. PR comments
* Address Lawrence's PR comments
* Address Anna M. PR Comments
* Address Ana G. PR comments
* Address Juan Pedro PR comments
* test remove label
Co-authored-by: Rafa Paradela <rafa.p@47deg.com>1 parent a776769 commit 5849584
111 files changed
Lines changed: 3084 additions & 11164 deletions
File tree
- cats-effect/src
- main/scala/github4s/cats/effect
- test/scala/github4s/cats/effect
- docs/docs
- github4s/src
- main/scala/github4s
- algebras
- api
- domain
- free
- algebra
- interpreters
- http
- interpreters
- modules
- util
- test/scala/github4s
- integration
- unit
- utils
- project
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | 24 | | |
30 | 25 | | |
31 | 26 | | |
32 | 27 | | |
33 | 28 | | |
34 | | - | |
| 29 | + | |
35 | 30 | | |
36 | 31 | | |
37 | 32 | | |
| |||
Lines changed: 0 additions & 27 deletions
This file was deleted.
Lines changed: 0 additions & 51 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
24 | 25 | | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
28 | | - | |
29 | 30 | | |
30 | | - | |
31 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
47 | | - | |
48 | | - | |
49 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
| |||
68 | 71 | | |
69 | 72 | | |
70 | 73 | | |
71 | | - | |
72 | | - | |
73 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
| |||
95 | 98 | | |
96 | 99 | | |
97 | 100 | | |
98 | | - | |
99 | | - | |
100 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
101 | 104 | | |
102 | 105 | | |
103 | 106 | | |
| |||
112 | 115 | | |
113 | 116 | | |
114 | 117 | | |
115 | | - | |
| 118 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
23 | 29 | | |
24 | 30 | | |
25 | 31 | | |
| |||
36 | 42 | | |
37 | 43 | | |
38 | 44 | | |
39 | | - | |
40 | | - | |
| 45 | + | |
| 46 | + | |
41 | 47 | | |
42 | 48 | | |
43 | 49 | | |
44 | 50 | | |
45 | 51 | | |
46 | 52 | | |
47 | | - | |
| 53 | + | |
48 | 54 | | |
49 | 55 | | |
50 | 56 | | |
| |||
65 | 71 | | |
66 | 72 | | |
67 | 73 | | |
68 | | - | |
69 | | - | |
| 74 | + | |
| 75 | + | |
70 | 76 | | |
71 | 77 | | |
72 | 78 | | |
73 | | - | |
| 79 | + | |
74 | 80 | | |
75 | 81 | | |
76 | 82 | | |
| |||
93 | 99 | | |
94 | 100 | | |
95 | 101 | | |
96 | | - | |
97 | | - | |
| 102 | + | |
| 103 | + | |
98 | 104 | | |
99 | 105 | | |
100 | 106 | | |
101 | 107 | | |
102 | 108 | | |
103 | | - | |
| 109 | + | |
104 | 110 | | |
105 | 111 | | |
106 | 112 | | |
| |||
114 | 120 | | |
115 | 121 | | |
116 | 122 | | |
117 | | - | |
| 123 | + | |
0 commit comments