Graphql query array
<p>I'm trying to fetch an array of coordinates with graphql. I'm using relay, mongoose, and graffiti-mongoose to generate graphql types from these mongoose models:</p>

<pre><code>// Geometry
const GeometrySchema = new mongoose.Schema({
type:         { type: String }, 
coordinates:  [ Number ]
}, { _id: false } );

// Country 
const CountrySchema = new mongoose.Schema({
code:           String,
name:           String,
dictionary:     [ { _id: false, value: String } ],
language:       [ { _id: false, code: String, name: String } ],
loc:            { type: { type: String }, geometries: [ GeometrySchema ] },
creationDate:   Date,
modifiedDate:   Date
});

const Country = mongoose.model('Country', CountrySchema);
</code></pre>

<p>Here's the generated graphql (graphql/utilities):</p>

<pre><code>type Country implements Node {
  code: String
  name: String
  dictionary: [CountryDictionary]
  language: [CountryLanguage]
  loc: [CountryLoc]
  creationDate: Date
  modifiedDate: Date
  _id: ID
  id: ID!
}

type CountryConnection {
  pageInfo: PageInfo!
  edges: [CountryEdge]
  count: Float
}

type CountryDictionary {
  _id: Generic
  value: String
}

input CountryDictionaryInput {
  _id: Generic
  value: String
}

type CountryEdge {
  node: Country
  cursor: String!
}

type CountryLanguage {
  _id: Generic
  code: String
  name: String
}

input CountryLanguageInput {
  _id: Generic
  code: String
  name: String
}

type CountryLoc {
  type: String
  coordinates: [Float]
}

input CountryLocInput {
  type: String
  coordinates: [Float]
}
</code></pre>

<p>Using graphiql I can get the country's name with this:</p>

<pre><code>{
  country(id:"57b48b73f6d183802aa06fe8"){
    name

  } 
}
</code></pre>

<p>How can I retrieve the loc info?</p>