Skip to content

Commit ada12d4

Browse files
committed
more examples
1 parent ec9b4ee commit ada12d4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Writerside/topics/schema.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,13 +386,15 @@ Nullable fields and input fields are also nullable in GraphQL:
386386
<code-block lang="kotlin">
387387
class User {
388388
fun email(): String?
389+
fun id(): String
389390
}
390391
</code-block>
391392
</td>
392393
<td>
393394
<code-block lang="graphql">
394395
type User {
395396
email: String
397+
id: String!
396398
}
397399
</code-block>
398400
</td>

0 commit comments

Comments
 (0)