File tree 17 files changed +29
-30
lines changed
graphql-kotlin-client-serialization
src/test/kotlin/com/expediagroup/graphql/client/serialization
graphql-kotlin-ktor-client
graphql-kotlin-spring-client
graphql-kotlin-automatic-persisted-queries
graphql-kotlin-dataloader
graphql-kotlin-dataloader-instrumentation
graphql-kotlin-federation
src/test/kotlin/com/expediagroup/graphql/generator/federation/execution
graphql-kotlin-schema-generator
integration/gradle-plugin-integration-tests/client-generator/jacoco
client/graphql-kotlin-client-generator
schema/graphql-kotlin-sdl-generator
server/graphql-kotlin-graalvm-metadata-generator
graphql-kotlin-ktor-server
graphql-kotlin-spring-server
17 files changed +29
-30
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ tasks {
19
19
counter = " INSTRUCTION"
20
20
value = " COVEREDRATIO"
21
21
// increase it when https://github.com/Kotlin/kotlinx.serialization/issues/961 is resolved
22
- minimum = " 0.70 " .toBigDecimal()
22
+ minimum = " 0.79 " .toBigDecimal()
23
23
}
24
24
}
25
25
}
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ import com.expediagroup.graphql.client.serialization.types.KotlinxGraphQLError
31
31
import com.expediagroup.graphql.client.serialization.types.KotlinxGraphQLResponse
32
32
import com.expediagroup.graphql.client.serialization.types.KotlinxGraphQLSourceLocation
33
33
import com.expediagroup.graphql.client.serialization.types.OptionalInput
34
- import kotlinx.serialization.decodeFromString
35
34
import kotlinx.serialization.json.Json
36
35
import kotlinx.serialization.json.JsonObject
37
36
import org.junit.jupiter.api.Test
@@ -309,8 +308,7 @@ class GraphQLClientKotlinXSerializerTest {
309
308
| "foo",
310
309
| null
311
310
| ],
312
- | "nonNullableElementList": [
313
- | ]
311
+ | "nonNullableElementList": []
314
312
| },
315
313
| "query": "INPUT_QUERY",
316
314
| "operationName": "InputQuery"
@@ -327,8 +325,7 @@ class GraphQLClientKotlinXSerializerTest {
327
325
)
328
326
329
327
val expected = """ {
330
- | "variables": {
331
- | },
328
+ | "variables": {},
332
329
| "query": "EMPTY_INPUT_QUERY",
333
330
| "operationName": "EmptyInputQuery"
334
331
|}
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ tasks {
23
23
limit {
24
24
counter = " INSTRUCTION"
25
25
value = " COVEREDRATIO"
26
- minimum = " 0.95 " .toBigDecimal()
26
+ minimum = " 0.97 " .toBigDecimal()
27
27
}
28
28
}
29
29
}
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ tasks {
23
23
limit {
24
24
counter = " INSTRUCTION"
25
25
value = " COVEREDRATIO"
26
- minimum = " 0.95 " .toBigDecimal()
26
+ minimum = " 0.96 " .toBigDecimal()
27
27
}
28
28
}
29
29
}
Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ tasks {
15
15
limit {
16
16
counter = " INSTRUCTION"
17
17
value = " COVEREDRATIO"
18
- minimum = " 0.76 " .toBigDecimal()
18
+ minimum = " 0.95 " .toBigDecimal()
19
19
}
20
20
limit {
21
21
counter = " BRANCH"
22
22
value = " COVEREDRATIO"
23
- minimum = " 0.50 " .toBigDecimal()
23
+ minimum = " 0.90 " .toBigDecimal()
24
24
}
25
25
}
26
26
}
Original file line number Diff line number Diff line change @@ -20,12 +20,12 @@ tasks {
20
20
limit {
21
21
counter = " INSTRUCTION"
22
22
value = " COVEREDRATIO"
23
- minimum = " 0.92 " .toBigDecimal()
23
+ minimum = " 0.94 " .toBigDecimal()
24
24
}
25
25
limit {
26
26
counter = " BRANCH"
27
27
value = " COVEREDRATIO"
28
- minimum = " 0.70 " .toBigDecimal()
28
+ minimum = " 0.76 " .toBigDecimal()
29
29
}
30
30
}
31
31
}
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ tasks {
18
18
limit {
19
19
counter = " INSTRUCTION"
20
20
value = " COVEREDRATIO"
21
- minimum = " 0.52 " .toBigDecimal()
21
+ minimum = " 0.58 " .toBigDecimal()
22
22
}
23
23
limit {
24
24
counter = " BRANCH"
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ tasks {
27
27
limit {
28
28
counter = " BRANCH"
29
29
value = " COVEREDRATIO"
30
- minimum = " 0.80 " .toBigDecimal()
30
+ minimum = " 0.83 " .toBigDecimal()
31
31
}
32
32
}
33
33
}
Original file line number Diff line number Diff line change @@ -47,6 +47,8 @@ schema {
47
47
query: Query
48
48
}
49
49
50
+ directive @custom on SCHEMA | SCALAR | OBJECT | FIELD_DEFINITION | ARGUMENT_DEFINITION | INTERFACE | UNION | ENUM | ENUM_VALUE | INPUT_OBJECT | INPUT_FIELD_DEFINITION
51
+
50
52
interface Product @extends @key(fields : "id") @key(fields : "upc") {
51
53
id: String! @external
52
54
reviews: [Review!]!
@@ -70,8 +72,8 @@ type Book implements Product @extends @key(fields : "id") @key(fields : "upc") {
70
72
type Query @extends
71
73
72
74
type Review {
73
- body: String!
74
- content: String
75
+ body: String! @custom
76
+ content: String @deprecated(reason : "no longer supported, replace with use Review.body instead")
75
77
customScalar: CustomScalar!
76
78
id: String!
77
79
}
@@ -173,7 +175,7 @@ type Query {
173
175
174
176
type Review {
175
177
body: String! @custom
176
- content: String
178
+ content: String @deprecated(reason : "no longer supported, replace with use Review.body instead")
177
179
customScalar: CustomScalar!
178
180
id: String!
179
181
}
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ tasks {
20
20
limit {
21
21
counter = " INSTRUCTION"
22
22
value = " COVEREDRATIO"
23
- minimum = " 0.95 " .toBigDecimal()
23
+ minimum = " 0.96 " .toBigDecimal()
24
24
}
25
25
limit {
26
26
counter = " BRANCH"
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ tasks {
30
30
limit {
31
31
counter = " INSTRUCTION"
32
32
value = " COVEREDRATIO"
33
- minimum = " 0.99 " .toBigDecimal()
33
+ minimum = " 1.0 " .toBigDecimal()
34
34
}
35
35
}
36
36
}
Original file line number Diff line number Diff line change @@ -38,12 +38,12 @@ tasks {
38
38
limit {
39
39
counter = " INSTRUCTION"
40
40
value = " COVEREDRATIO"
41
- minimum = " 0.90 " .toBigDecimal()
41
+ minimum = " 0.94 " .toBigDecimal()
42
42
}
43
43
limit {
44
44
counter = " BRANCH"
45
45
value = " COVEREDRATIO"
46
- minimum = " 0.75 " .toBigDecimal()
46
+ minimum = " 0.85 " .toBigDecimal()
47
47
}
48
48
}
49
49
}
Original file line number Diff line number Diff line change @@ -61,12 +61,12 @@ tasks {
61
61
limit {
62
62
counter = " INSTRUCTION"
63
63
value = " COVEREDRATIO"
64
- minimum = " 0.85 " .toBigDecimal()
64
+ minimum = " 0.91 " .toBigDecimal()
65
65
}
66
66
limit {
67
67
counter = " BRANCH"
68
68
value = " COVEREDRATIO"
69
- minimum = " 0.80 " .toBigDecimal()
69
+ minimum = " 0.83 " .toBigDecimal()
70
70
}
71
71
}
72
72
}
Original file line number Diff line number Diff line change @@ -60,12 +60,12 @@ tasks {
60
60
limit {
61
61
counter = " INSTRUCTION"
62
62
value = " COVEREDRATIO"
63
- minimum = " 0.80 " .toBigDecimal()
63
+ minimum = " 0.89 " .toBigDecimal()
64
64
}
65
65
limit {
66
66
counter = " BRANCH"
67
67
value = " COVEREDRATIO"
68
- minimum = " 0.58 " .toBigDecimal()
68
+ minimum = " 0.66 " .toBigDecimal()
69
69
}
70
70
}
71
71
}
Original file line number Diff line number Diff line change @@ -26,12 +26,12 @@ tasks {
26
26
limit {
27
27
counter = " INSTRUCTION"
28
28
value = " COVEREDRATIO"
29
- minimum = " 0.70 " .toBigDecimal()
29
+ minimum = " 0.75 " .toBigDecimal()
30
30
}
31
31
limit {
32
32
counter = " BRANCH"
33
33
value = " COVEREDRATIO"
34
- minimum = " 0.45 " .toBigDecimal()
34
+ minimum = " 0.48 " .toBigDecimal()
35
35
}
36
36
}
37
37
}
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ tasks {
52
52
limit {
53
53
counter = " BRANCH"
54
54
value = " COVEREDRATIO"
55
- minimum = " 0.72 " .toBigDecimal()
55
+ minimum = " 0.73 " .toBigDecimal()
56
56
}
57
57
}
58
58
}
Original file line number Diff line number Diff line change @@ -26,12 +26,12 @@ tasks {
26
26
limit {
27
27
counter = " INSTRUCTION"
28
28
value = " COVEREDRATIO"
29
- minimum = " 0.85 " .toBigDecimal()
29
+ minimum = " 0.87 " .toBigDecimal()
30
30
}
31
31
limit {
32
32
counter = " BRANCH"
33
33
value = " COVEREDRATIO"
34
- minimum = " 0.66 " .toBigDecimal()
34
+ minimum = " 0.68 " .toBigDecimal()
35
35
}
36
36
}
37
37
}
You can’t perform that action at this time.
0 commit comments