Skip to content

Commit

Permalink
Add @deprecated inclusion check to FederationTest
Browse files Browse the repository at this point in the history
  • Loading branch information
sachindshinde committed Mar 18, 2020
1 parent 3e2da6a commit 7594c82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class FederationTest {
void testEmpty() {
final GraphQLSchema federated = Federation.transform(emptySDL)
.build();
Assertions.assertEquals("type Query {\n" +
Assertions.assertEquals("type Query @deprecated(reason : \"dummy\") {\n" +
" _service: _Service\n" +
"}\n" +
"\n" +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ schema {
query: Query
}

type Query
type Query @deprecated(reason : "dummy")

0 comments on commit 7594c82

Please sign in to comment.