Skip to content

Commit 73d8b26

Browse files
benjieleebyron
andauthored
Implementations may not deprecate a field that the interface hasn't deprecated (#1053)
* Implementations may not deprecate a field that the interface hasn't deprecated * Avoid negative, don't refer to directive Co-authored-by: Lee Byron <lee@leebyron.com> --------- Co-authored-by: Lee Byron <lee@leebyron.com>
1 parent dc7b27e commit 73d8b26

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/Section 3 -- Type System.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -947,6 +947,7 @@ IsValidImplementation(type, implementedType):
947947
2. Let {implementedFieldType} be the return type of {implementedField}.
948948
3. {IsValidImplementationFieldType(fieldType, implementedFieldType)} must
949949
be {true}.
950+
6. If {field} is deprecated then {implementedField} must also be deprecated.
950951

951952
IsValidImplementationFieldType(fieldType, implementedFieldType):
952953

0 commit comments

Comments
 (0)