File tree Expand file tree Collapse file tree 1 file changed +26
-5
lines changed
Expand file tree Collapse file tree 1 file changed +26
-5
lines changed Original file line number Diff line number Diff line change 1- //> using scala 3.3.1
2- //> using toolkit 0.2.1
3- //> using lib pro.kordyjan::pytanie:0.1.7
1+ //> using scala 3 .lts
2+ //> using toolkit 0.4.0
3+ //> using lib pro.kordyjan::pytanie:0.1.9
44
55import pytanie .*
66import sttp .client4 .*
@@ -10,8 +10,29 @@ lazy val apiToken =
1010
1111case class ID (value : String ) derives WrapperVariable
1212
13- val PROJECT_ID = ID (" PVT_kwDOACj3ec4AWSoi" )
14- val FIELD_ID = ID (" PVTF_lADOACj3ec4AWSoizgO7uJ4" )
13+ // Obtained with:
14+ // query {
15+ // organization(login: "scala") {
16+ // projectV2(number: 2) {
17+ // id
18+ // }
19+ // }
20+ // }
21+ val PROJECT_ID = ID (" PVT_kwDN3uPOAHewkg" )
22+
23+ // Obtained with:
24+ // query {
25+ // organization(login: "scala") {
26+ // projectV2(number: 2) {
27+ // field(name: "Merged at") {
28+ // ... on ProjectV2FieldCommon {
29+ // id
30+ // }
31+ // }
32+ // }
33+ // }
34+ // }
35+ val FIELD_ID = ID (" PVTF_lADN3uPOAHewks4E3B1I" )
1536
1637@ main def run (commitSha : String ) =
1738 val (id, date) = getPrData(commitSha)
You can’t perform that action at this time.
0 commit comments