@@ -758,6 +758,7 @@ describe('Clean GraphQL Server: one new basic function per test ("Individual" mo
758
758
{
759
759
message :
760
760
"Remote server (http://server1:3000/graphql) did not respond with data." ,
761
+ extensions : { } ,
761
762
locations : [
762
763
{
763
764
line : 1 ,
@@ -1098,7 +1099,7 @@ describe('Clean GraphQL Server: one new basic function per test ("Individual" mo
1098
1099
errors : [
1099
1100
{
1100
1101
message :
1101
- 'Field "hello" is not defined by type paginationCursorInput.' ,
1102
+ 'Field \ "hello\ " is not defined by type \" paginationCursorInput\" .' ,
1102
1103
locations : [
1103
1104
{
1104
1105
line : 1 ,
@@ -1141,7 +1142,7 @@ describe('Clean GraphQL Server: one new basic function per test ("Individual" mo
1141
1142
errors : [
1142
1143
{
1143
1144
message :
1144
- 'Expected type Date, found "today"; Date cannot represent an invalid date-string today.' ,
1145
+ 'Expected value of type \" Date\" , found \ "today\ "; Date cannot represent an invalid date-string today.' ,
1145
1146
locations : [
1146
1147
{
1147
1148
line : 1 ,
@@ -1171,28 +1172,28 @@ describe('Clean GraphQL Server: one new basic function per test ("Individual" mo
1171
1172
validationErrors : [
1172
1173
{
1173
1174
keyword : "type" ,
1174
- dataPath : ". name" ,
1175
+ instancePath : "/ name" ,
1175
1176
schemaPath : "#/properties/name/anyOf/0/type" ,
1176
1177
params : {
1177
1178
type : "null" ,
1178
1179
} ,
1179
- message : "should be null" ,
1180
+ message : "must be null" ,
1180
1181
} ,
1181
1182
{
1182
1183
keyword : "pattern" ,
1183
- dataPath : ". name" ,
1184
+ instancePath : "/ name" ,
1184
1185
schemaPath : "#/properties/name/anyOf/1/pattern" ,
1185
1186
params : {
1186
1187
pattern : "^[a-zA-Z0-9]+$" ,
1187
1188
} ,
1188
- message : 'should match pattern "^[a-zA-Z0-9]+$"' ,
1189
+ message : 'must match pattern "^[a-zA-Z0-9]+$"' ,
1189
1190
} ,
1190
1191
{
1191
1192
keyword : "anyOf" ,
1192
- dataPath : ". name" ,
1193
+ instancePath : "/ name" ,
1193
1194
schemaPath : "#/properties/name/anyOf" ,
1194
1195
params : { } ,
1195
- message : "should match some schema in anyOf" ,
1196
+ message : "must match a schema in anyOf" ,
1196
1197
} ,
1197
1198
] ,
1198
1199
} ,
@@ -2605,6 +2606,7 @@ describe("Zendro Webservice Data Models", function () {
2605
2606
{
2606
2607
message :
2607
2608
"Web-service http://server1:3000/graphql returned attached (see below) error(s)." ,
2609
+ extensions : { } ,
2608
2610
locations : [ { line : 1 , column : 10 } ] ,
2609
2611
path : [ "addAccession" ] ,
2610
2612
} ,
@@ -2615,10 +2617,10 @@ describe("Zendro Webservice Data Models", function () {
2615
2617
validationErrors : [
2616
2618
{
2617
2619
keyword : "pattern" ,
2618
- dataPath : ". collectors_name" ,
2620
+ instancePath : "/ collectors_name" ,
2619
2621
schemaPath : "#/properties/collectors_name/pattern" ,
2620
2622
params : { pattern : "^[a-zA-Z0-9_]+$" } ,
2621
- message : 'should match pattern "^[a-zA-Z0-9_]+$"' ,
2623
+ message : 'must match pattern "^[a-zA-Z0-9_]+$"' ,
2622
2624
} ,
2623
2625
] ,
2624
2626
receivedFrom : [ "http://server1:3000/graphql" ] ,
0 commit comments