diff --git a/README.md b/README.md index 0982e99..8b56b6c 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ A public GraphQL API for information about countries, continents, and languages. country(code: BR) { name native + capital emoji currency languages { @@ -49,6 +50,7 @@ The above GraphQL query will produce the following JSON response: "country": { "name": "Brazil", "native": "Brasil", + "capital": "Brasília", "emoji": "🇧🇷", "currency": "BRL", "languages": [ diff --git a/index.js b/index.js index 723969d..148fa6a 100644 --- a/index.js +++ b/index.js @@ -27,6 +27,7 @@ const typeDefs = gql` native: String! phone: String! continent: Continent! + capital: String! currency: String! languages: [Language!]! emoji: String!