@graphql-inspector/core
Advanced tools
Comparing version 6.2.1 to 6.3.0-alpha-20250220184236-adcc53cd1e5fcc97c6dbc4d3d9db39f8a929bd95
@@ -42,3 +42,3 @@ "use strict"; | ||
? `Removing a deprecated field is a breaking change. Before removing it, you may want to look at the field's usage to see the impact of removing the field.` | ||
: `Removing a field is a breaking change. It is preferable to deprecate the field before removing it.`, | ||
: `Removing a field is a breaking change. It is preferable to deprecate the field before removing it. This applies to removed union fields as well, since removal breaks client operations that contain fragments that reference the removed type through direct (... on RemovedType) or indirect means such as __typename in the consumers.`, | ||
}, | ||
@@ -45,0 +45,0 @@ message: buildFieldRemovedMessage(args.meta), |
@@ -14,3 +14,3 @@ import { isInterfaceType, isNonNullType, } from 'graphql'; | ||
? `Removing a deprecated field is a breaking change. Before removing it, you may want to look at the field's usage to see the impact of removing the field.` | ||
: `Removing a field is a breaking change. It is preferable to deprecate the field before removing it.`, | ||
: `Removing a field is a breaking change. It is preferable to deprecate the field before removing it. This applies to removed union fields as well, since removal breaks client operations that contain fragments that reference the removed type through direct (... on RemovedType) or indirect means such as __typename in the consumers.`, | ||
}, | ||
@@ -17,0 +17,0 @@ message: buildFieldRemovedMessage(args.meta), |
{ | ||
"name": "@graphql-inspector/core", | ||
"version": "6.2.1", | ||
"version": "6.3.0-alpha-20250220184236-adcc53cd1e5fcc97c6dbc4d3d9db39f8a929bd95", | ||
"description": "Tooling for GraphQL. Compare GraphQL Schemas, check documents, find breaking changes, find similar types.", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
@@ -7,3 +7,3 @@ import { GraphQLArgument, GraphQLField, GraphQLInterfaceType, GraphQLObjectType } from 'graphql'; | ||
readonly level: CriticalityLevel.Breaking; | ||
readonly reason: "Removing a deprecated field is a breaking change. Before removing it, you may want to look at the field's usage to see the impact of removing the field." | "Removing a field is a breaking change. It is preferable to deprecate the field before removing it."; | ||
readonly reason: "Removing a deprecated field is a breaking change. Before removing it, you may want to look at the field's usage to see the impact of removing the field." | "Removing a field is a breaking change. It is preferable to deprecate the field before removing it. This applies to removed union fields as well, since removal breaks client operations that contain fragments that reference the removed type through direct (... on RemovedType) or indirect means such as __typename in the consumers."; | ||
}; | ||
@@ -10,0 +10,0 @@ readonly message: string; |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
565302
10313
4
4
2
87
2