From bf182ce8686bcc20e8c15cfdf9d03c3859d1e924 Mon Sep 17 00:00:00 2001 From: Samuel Garneau Date: Mon, 31 Oct 2016 15:24:18 -0400 Subject: [PATCH] Fix field names in Learn Schema example of Character --- site/learn/Learn-Schema.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/learn/Learn-Schema.md b/site/learn/Learn-Schema.md index b3591b49e8..7d097ff4b6 100644 --- a/site/learn/Learn-Schema.md +++ b/site/learn/Learn-Schema.md @@ -259,7 +259,7 @@ type Droid implements Character { } ``` -You can see that both of these types have all of the fields from the `Character` interface, but also bring in extra fields, `homePlanet` and `primaryFunction`, that are specific to that particular type of character. +You can see that both of these types have all of the fields from the `Character` interface, but also bring in extra fields, `totalCredits`, `starships` and `primaryFunction`, that are specific to that particular type of character. Interfaces are useful when you want to return an object or set of objects, but those might be of several different types.