We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1100177 commit ef0f892Copy full SHA for ef0f892
1 file changed
src/type/validate.ts
@@ -436,8 +436,8 @@ function validateTypeImplementsInterface(
436
437
// Asserts that field is not deprecated unless interface field is
438
if (
439
- ifaceField.deprecationReason == null &&
440
- typeField.deprecationReason != null
+ typeField.deprecationReason != null &&
+ ifaceField.deprecationReason == null
441
) {
442
context.reportError(
443
`Interface field ${iface.name}.${fieldName} is not deprecated, so ` +
0 commit comments