 
 app = module.exports = express()
 
+relatedArticles =
+  relatedArticles: array().items(object(Article.inputSchema))
+
 schema = joiql
   query:
     articles: array().items(object(

      args: Article.querySchema
      resolve: resolvers.articles
    )
    article: object(Article.inputSchema)
    .meta(
      args: id: string()
      resolve: resolvers.article

      resolve: resolvers.authors
    )

app.use '/graphql', setUser, graphqlHTTP(
  schema: schema
  graphiql: true
