Commit 006affc
committed
refactor: move GitHub GraphQL API logic to server
Changed architecture from Extension directly calling GitHub GraphQL API to routing through server for better separation of concerns
- Add /api/issues/status and /api/issues/status/update endpoints to server
- Simplify Extension's github-api.service.ts
- Move GraphQL query building/parsing logic to Go server
- Improve security by removing direct GitHub token exposure in Extension
fix #811 parent 34de5f2 commit 006affc
12 files changed
Lines changed: 1630 additions & 816 deletions
File tree
- extension/src
- constants
- services
- server
- api/issues/status
- update
- pkg
- auth
- github
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 24 | | |
34 | 25 | | |
35 | 26 | | |
| |||
40 | 31 | | |
41 | 32 | | |
42 | 33 | | |
43 | | - | |
44 | 34 | | |
45 | 35 | | |
46 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
0 commit comments