|
1 | 1 | import objectEntries from '../polyfills/objectEntries'; |
2 | | -import { SYMBOL_TO_STRING_TAG } from '../polyfills/symbols'; |
3 | 2 |
|
4 | 3 | import type { Path } from '../jsutils/Path'; |
5 | 4 | import type { PromiseOrValue } from '../jsutils/PromiseOrValue'; |
@@ -366,7 +365,7 @@ export class GraphQLList<+T: GraphQLType> { |
366 | 365 | } |
367 | 366 |
|
368 | 367 | // $FlowFixMe[unsupported-syntax] Flow doesn't support computed properties yet |
369 | | - get [SYMBOL_TO_STRING_TAG]() { |
| 368 | + get [Symbol.toStringTag]() { |
370 | 369 | return 'GraphQLList'; |
371 | 370 | } |
372 | 371 | } |
@@ -415,7 +414,7 @@ export class GraphQLNonNull<+T: GraphQLNullableType> { |
415 | 414 | } |
416 | 415 |
|
417 | 416 | // $FlowFixMe[unsupported-syntax] Flow doesn't support computed properties yet |
418 | | - get [SYMBOL_TO_STRING_TAG]() { |
| 417 | + get [Symbol.toStringTag]() { |
419 | 418 | return 'GraphQLNonNull'; |
420 | 419 | } |
421 | 420 | } |
@@ -627,7 +626,7 @@ export class GraphQLScalarType { |
627 | 626 | } |
628 | 627 |
|
629 | 628 | // $FlowFixMe[unsupported-syntax] Flow doesn't support computed properties yet |
630 | | - get [SYMBOL_TO_STRING_TAG]() { |
| 629 | + get [Symbol.toStringTag]() { |
631 | 630 | return 'GraphQLScalarType'; |
632 | 631 | } |
633 | 632 | } |
@@ -774,7 +773,7 @@ export class GraphQLObjectType { |
774 | 773 | } |
775 | 774 |
|
776 | 775 | // $FlowFixMe[unsupported-syntax] Flow doesn't support computed properties yet |
777 | | - get [SYMBOL_TO_STRING_TAG]() { |
| 776 | + get [Symbol.toStringTag]() { |
778 | 777 | return 'GraphQLObjectType'; |
779 | 778 | } |
780 | 779 | } |
@@ -1094,7 +1093,7 @@ export class GraphQLInterfaceType { |
1094 | 1093 | } |
1095 | 1094 |
|
1096 | 1095 | // $FlowFixMe[unsupported-syntax] Flow doesn't support computed properties yet |
1097 | | - get [SYMBOL_TO_STRING_TAG]() { |
| 1096 | + get [Symbol.toStringTag]() { |
1098 | 1097 | return 'GraphQLInterfaceType'; |
1099 | 1098 | } |
1100 | 1099 | } |
@@ -1204,7 +1203,7 @@ export class GraphQLUnionType { |
1204 | 1203 | } |
1205 | 1204 |
|
1206 | 1205 | // $FlowFixMe[unsupported-syntax] Flow doesn't support computed properties yet |
1207 | | - get [SYMBOL_TO_STRING_TAG]() { |
| 1206 | + get [Symbol.toStringTag]() { |
1208 | 1207 | return 'GraphQLUnionType'; |
1209 | 1208 | } |
1210 | 1209 | } |
@@ -1385,7 +1384,7 @@ export class GraphQLEnumType /* <T> */ { |
1385 | 1384 | } |
1386 | 1385 |
|
1387 | 1386 | // $FlowFixMe[unsupported-syntax] Flow doesn't support computed properties yet |
1388 | | - get [SYMBOL_TO_STRING_TAG]() { |
| 1387 | + get [Symbol.toStringTag]() { |
1389 | 1388 | return 'GraphQLEnumType'; |
1390 | 1389 | } |
1391 | 1390 | } |
@@ -1537,7 +1536,7 @@ export class GraphQLInputObjectType { |
1537 | 1536 | } |
1538 | 1537 |
|
1539 | 1538 | // $FlowFixMe[unsupported-syntax] Flow doesn't support computed properties yet |
1540 | | - get [SYMBOL_TO_STRING_TAG]() { |
| 1539 | + get [Symbol.toStringTag]() { |
1541 | 1540 | return 'GraphQLInputObjectType'; |
1542 | 1541 | } |
1543 | 1542 | } |
|
0 commit comments