Skip to content

Instantly share code, notes, and snippets.

@ivanbtrujillo
Last active June 18, 2017 16:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivanbtrujillo/d7647e0a8f99c46a301776ba744ae8c6 to your computer and use it in GitHub Desktop.
Save ivanbtrujillo/d7647e0a8f99c46a301776ba744ae8c6 to your computer and use it in GitHub Desktop.
GraphQL. 03 — Schemas y GraphiQL - 01
// Importamos la librería GraphQl
const graphql = require('graphql');
/*
Usamos el deestructuring de Javascript Es6 para extraer el objeto GraphQLObjectType del objeto graphql
(el cual es la librería) para poder utilizarlo fuera.
*/
const {
GraphQLObjectType
} = graphql;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment