Skip to content

Commit 72d4a3a

Browse files
author
Briggs
committed
Implemented graphql-java-kickstart#8. Both @deprecated(reason: String), or an empty @deprecated, directive can be used within the schema definition and the messages will now be available when a client introspects the schema for deprecated values. The README.md has also been updated to reflect the new addition.
2 parents 585c76c + 021e874 commit 72d4a3a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,11 @@ enum Episode @doc(d: "One of the films in the Star Wars Trilogy") {
290290
NEWHOPE @doc(d: "Released in 1977"),
291291
EMPIRE @doc(d: "Released in 1980"),
292292
JEDI @doc(d: "Released in 1983"),
293+
<<<<<<< HEAD
293294
FANTOM @doc(d: "Released in 1999") @deprecated(reason: "Not worth referencing"),
295+
=======
296+
PHANTOM @doc(d: "Released in 1999") @deprecated(reason: "Not worth referencing"),
297+
>>>>>>> upstream/master
294298
CLONES @doc(d: "Released in 2002") @deprecated
295299
}
296300
```

0 commit comments

Comments
 (0)