@@ -42,7 +42,7 @@ TypeSystemExtension :
42
42
- TypeExtension
43
43
44
44
Type system extensions are used to represent a GraphQL type system which has
45
- been extended from some original type system. For example, this might be used by
45
+ been extended from some previous type system. For example, this might be used by
46
46
a local service to represent data a GraphQL client only accesses locally, or by
47
47
a GraphQL service which is itself an extension of another GraphQL service.
48
48
@@ -266,8 +266,8 @@ SchemaExtension :
266
266
- extend schema Directives[Const]? { RootOperationTypeDefinition+ }
267
267
- extend schema Directives[Const] [lookahead != `{`]
268
268
269
- Schema extensions are used to represent a schema which has been extended from an
270
- original schema. For example, this might be used by a GraphQL service which adds
269
+ Schema extensions are used to represent a schema which has been extended from a
270
+ previous schema. For example, this might be used by a GraphQL service which adds
271
271
additional operation types, or additional directives to an existing schema.
272
272
273
273
Note : Schema extensions without additional operation type definitions must not
@@ -279,7 +279,7 @@ The same limitation applies to the type definitions and extensions below.
279
279
Schema extensions have the potential to be invalid if incorrectly defined .
280
280
281
281
1. The Schema must already be defined .
282
- 2. Any non -repeatable directives provided must not already apply to the original
282
+ 2. Any non -repeatable directives provided must not already apply to the previous
283
283
Schema .
284
284
285
285
## Types
@@ -377,7 +377,7 @@ TypeExtension :
377
377
- InputObjectTypeExtension
378
378
379
379
Type extensions are used to represent a GraphQL type which has been extended
380
- from some original type . For example , this might be used by a local service to
380
+ from some previous type . For example , this might be used by a local service to
381
381
represent additional fields a GraphQL client only accesses locally .
382
382
383
383
## Scalars
@@ -640,15 +640,15 @@ ScalarTypeExtension :
640
640
- extend scalar Name Directives [Const ]
641
641
642
642
Scalar type extensions are used to represent a scalar type which has been
643
- extended from some original scalar type . For example , this might be used by a
643
+ extended from some previous scalar type . For example , this might be used by a
644
644
GraphQL tool or service which adds directives to an existing scalar .
645
645
646
646
**Type Validation **
647
647
648
648
Scalar type extensions have the potential to be invalid if incorrectly defined .
649
649
650
650
1. The named type must already be defined and must be a Scalar type .
651
- 2. Any non -repeatable directives provided must not already apply to the original
651
+ 2. Any non -repeatable directives provided must not already apply to the previous
652
652
Scalar type .
653
653
654
654
## Objects
@@ -1048,7 +1048,7 @@ ObjectTypeExtension :
1048
1048
- extend type Name ImplementsInterfaces [lookahead != `{`]
1049
1049
1050
1050
Object type extensions are used to represent a type which has been extended from
1051
- some original type . For example , this might be used to represent local data , or
1051
+ some previous type . For example , this might be used to represent local data , or
1052
1052
by a GraphQL service which is itself an extension of another GraphQL service .
1053
1053
1054
1054
In this example , a local data field is added to a `Story ` type :
@@ -1076,10 +1076,10 @@ Object type extensions have the potential to be invalid if incorrectly defined.
1076
1076
2. The fields of an Object type extension must have unique names ; no two fields
1077
1077
may share the same name .
1078
1078
3. Any fields of an Object type extension must not be already defined on the
1079
- original Object type .
1080
- 4. Any non -repeatable directives provided must not already apply to the original
1079
+ previous Object type .
1080
+ 4. Any non -repeatable directives provided must not already apply to the previous
1081
1081
Object type .
1082
- 5. Any interfaces provided must not be already implemented by the original
1082
+ 5. Any interfaces provided must not be already implemented by the previous
1083
1083
Object type .
1084
1084
6. The resulting extended object type must be a super -set of all interfaces it
1085
1085
implements .
@@ -1288,7 +1288,7 @@ InterfaceTypeExtension :
1288
1288
- extend interface Name ImplementsInterfaces [lookahead != `{`]
1289
1289
1290
1290
Interface type extensions are used to represent an interface which has been
1291
- extended from some original interface . For example , this might be used to
1291
+ extended from some previous interface . For example , this might be used to
1292
1292
represent common local data on many types , or by a GraphQL service which is
1293
1293
itself an extension of another GraphQL service .
1294
1294
@@ -1328,11 +1328,11 @@ defined.
1328
1328
2. The fields of an Interface type extension must have unique names ; no two
1329
1329
fields may share the same name .
1330
1330
3. Any fields of an Interface type extension must not be already defined on the
1331
- original Interface type .
1332
- 4. Any Object or Interface type which implemented the original Interface type
1331
+ previous Interface type .
1332
+ 4. Any Object or Interface type which implemented the previous Interface type
1333
1333
must also be a super -set of the fields of the Interface type extension (which
1334
1334
may be due to Object type extension).
1335
- 5. Any non -repeatable directives provided must not already apply to the original
1335
+ 5. Any non -repeatable directives provided must not already apply to the previous
1336
1336
Interface type .
1337
1337
6. The resulting extended Interface type must be a super -set of all Interfaces
1338
1338
it implements .
@@ -1443,7 +1443,7 @@ UnionTypeExtension :
1443
1443
- extend union Name Directives [Const ]
1444
1444
1445
1445
Union type extensions are used to represent a union type which has been extended
1446
- from some original union type . For example , this might be used to represent
1446
+ from some previous union type . For example , this might be used to represent
1447
1447
additional local data , or by a GraphQL service which is itself an extension of
1448
1448
another GraphQL service .
1449
1449
@@ -1457,8 +1457,8 @@ Union type extensions have the potential to be invalid if incorrectly defined.
1457
1457
Similarly , wrapping types must not be member types of a Union .
1458
1458
3. All member types of a Union type extension must be unique .
1459
1459
4. All member types of a Union type extension must not already be a member of
1460
- the original Union type .
1461
- 5. Any non -repeatable directives provided must not already apply to the original
1460
+ the previous Union type .
1461
+ 5. Any non -repeatable directives provided must not already apply to the previous
1462
1462
Union type .
1463
1463
1464
1464
## Enums
@@ -1520,7 +1520,7 @@ EnumTypeExtension :
1520
1520
- extend enum Name Directives [Const ] [lookahead != `{`]
1521
1521
1522
1522
Enum type extensions are used to represent an enum type which has been extended
1523
- from some original enum type . For example , this might be used to represent
1523
+ from some previous enum type . For example , this might be used to represent
1524
1524
additional local data , or by a GraphQL service which is itself an extension of
1525
1525
another GraphQL service .
1526
1526
@@ -1531,8 +1531,8 @@ Enum type extensions have the potential to be invalid if incorrectly defined.
1531
1531
1. The named type must already be defined and must be an Enum type .
1532
1532
2. All values of an Enum type extension must be unique .
1533
1533
3. All values of an Enum type extension must not already be a value of the
1534
- original Enum .
1535
- 4. Any non -repeatable directives provided must not already apply to the original
1534
+ previous Enum .
1535
+ 4. Any non -repeatable directives provided must not already apply to the previous
1536
1536
Enum type .
1537
1537
1538
1538
## Input Objects
@@ -1712,7 +1712,7 @@ InputObjectTypeExtension :
1712
1712
- extend input Name Directives [Const ] [lookahead != `{`]
1713
1713
1714
1714
Input object type extensions are used to represent an input object type which
1715
- has been extended from some original input object type . For example , this might
1715
+ has been extended from some previous input object type . For example , this might
1716
1716
be used by a GraphQL service which is itself an extension of another GraphQL
1717
1717
service .
1718
1718
@@ -1724,8 +1724,8 @@ defined.
1724
1724
1. The named type must already be defined and must be a Input Object type .
1725
1725
2. All fields of an Input Object type extension must have unique names .
1726
1726
3. All fields of an Input Object type extension must not already be a field of
1727
- the original Input Object .
1728
- 4. Any non -repeatable directives provided must not already apply to the original
1727
+ the previous Input Object .
1728
+ 4. Any non -repeatable directives provided must not already apply to the previous
1729
1729
Input Object type .
1730
1730
1731
1731
## List
0 commit comments