File tree 4 files changed +7
-7
lines changed
4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -346,11 +346,11 @@ __Type = types.object({
346
346
end ,
347
347
},
348
348
349
- specifiedByUrl = {
349
+ specifiedByURL = {
350
350
kind = types .string ,
351
351
resolve = function (kind )
352
352
if kind .__type == ' Scalar' then
353
- return kind .specifiedByUrl
353
+ return kind .specifiedByURL
354
354
end
355
355
end ,
356
356
},
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ function types.scalar(config)
96
96
parseValue = config .parseValue ,
97
97
parseLiteral = config .parseLiteral ,
98
98
isValueOfTheType = config .isValueOfTheType ,
99
- specifiedByUrl = config .specifiedByUrl ,
99
+ specifiedByURL = config .specifiedByURL ,
100
100
}
101
101
102
102
instance .nonNull = types .nonNull (instance )
Original file line number Diff line number Diff line change @@ -1427,7 +1427,7 @@ function g.test_custom_directives()
1427
1427
t .assert_equals (errors , nil )
1428
1428
end
1429
1429
1430
- function g .test_specifiedByUrl_scalar_field ()
1430
+ function g .test_specifiedByURL_scalar_field ()
1431
1431
local function callback (_ , _ )
1432
1432
return nil
1433
1433
end
@@ -1445,7 +1445,7 @@ function g.test_specifiedByUrl_scalar_field()
1445
1445
isValueOfTheType = function (_ )
1446
1446
return true
1447
1447
end ,
1448
- specifiedByUrl = ' http://localhost' ,
1448
+ specifiedByURL = ' http://localhost' ,
1449
1449
})
1450
1450
1451
1451
local query_schema = {
@@ -1461,7 +1461,7 @@ function g.test_specifiedByUrl_scalar_field()
1461
1461
local data , errors = check_request (introspection .query , query_schema )
1462
1462
local CustomInt_schema = util .find_by_name (data .__schema .types , ' CustomInt' )
1463
1463
t .assert_type (CustomInt_schema , ' table' , ' CustomInt schema found on introspection' )
1464
- t .assert_equals (CustomInt_schema .specifiedByUrl , ' http://localhost' )
1464
+ t .assert_equals (CustomInt_schema .specifiedByURL , ' http://localhost' )
1465
1465
t .assert_equals (errors , nil )
1466
1466
end
1467
1467
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ return {
24
24
kind
25
25
name
26
26
description
27
- specifiedByUrl
27
+ specifiedByURL
28
28
fields(includeDeprecated: true) {
29
29
name
30
30
description
You can’t perform that action at this time.
0 commit comments