File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ mod tests {
155
155
let invalid_schema_string = r#"
156
156
directive @scaleLimits(rate: Float!) on FIELD_DEFINITION
157
157
type Query {
158
- field: String @scaleLimits(rate: "invalid" ) // Invalid rate type
158
+ field: String @scaleLimits(rate: 0.005 ) // Invalid comment
159
159
}
160
160
"# ;
161
161
let valid_query = "query { field }" ;
@@ -207,7 +207,7 @@ mod tests {
207
207
}
208
208
209
209
#[ test]
210
- fn test_no_double_counting_for_duplicate_fields_with_array ( ) {
210
+ fn test_accurate_scale_limits_for_nested_array ( ) {
211
211
let schema_string = r#"
212
212
directive @scaleLimits(rate: Float!) on FIELD_DEFINITION
213
213
type Query {
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ impl<'a>
62
62
' _ ,
63
63
<SchemaDefinition < ' _ > as CoreSchemaDefinition >:: TypeDefinition ,
64
64
> ,
65
- _included : bool ,
65
+ _included : bool , // Ignoring `_included` as @include and @skip directives are not supported in Shopify Functions.
66
66
) {
67
67
self . path_stack . push ( field. response_key ( ) ) ;
68
68
let rate = Self :: rate_for_field_definition ( field_definition) ;
You can’t perform that action at this time.
0 commit comments