File tree 1 file changed +26
-5
lines changed
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
4
4
5
5
import pytanie .*
6
6
import sttp .client4 .*
@@ -10,8 +10,29 @@ lazy val apiToken =
10
10
11
11
case class ID (value : String ) derives WrapperVariable
12
12
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" )
15
36
16
37
@ main def run (commitSha : String ) =
17
38
val (id, date) = getPrData(commitSha)
You can’t perform that action at this time.
0 commit comments