Skip to content

Commit

Permalink
Added schema test for @Source.
Browse files Browse the repository at this point in the history
Signed-off-by:Phillip Kruger <phillip.kruger@gmail.com>
  • Loading branch information
phillip-kruger committed Nov 18, 2019
1 parent 52073eb commit 5334fc4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tck/src/main/resources/tests/schemaTests.csv
Expand Up @@ -100,3 +100,6 @@
# testWithArgumentNameAndDefaultValue
52|type Query | allHeroesIn(city: String = "New York, NY"): [SuperHero] | Missing default value on argument
53|type Query | allHeroesInTeam(team: String): [SuperHero] | Missing argument on Query

# testSourceFieldInType
53|type SuperHero | currentLocation(arg0: SuperHeroInput): String | Expecting a currentLocation field in SuperHero due to Source annotation

0 comments on commit 5334fc4

Please sign in to comment.