¿Qué es GraphQL?

Festival Politraining Industria 4.0

¿Qué es GraphQL?

GraphQL engloba dos elementos principalmente, por un lado un lenguaje de consulta que le permite a los clientes que consumen un servicio web, especificar qué datos necesitan. Por otro lado, es un entorno de ejecución para responder a estas consultas a través de la especificación de un esquema tipado en el que se enlistan los datos que el servicio web puede entregar y las operaciones para dar respuesta a las solicitudes de los clientes.

Entonces, hay una definición completa de cómo consultar datos, piensa
como el lenguaje SQL te permite hacer N cantidad de cosas con los datos
de una base de datos, el lenguaje de GraphQL es similiar aunque mucho
más limitado para un servicio web.

Una consulta con el lenguaje de GraphQL se ve como aparece en pantalla:

{
  courses {
    title
  }
}

Comments: 9,424

  1. Hi there! Do you use Twitter? I’d like to follow you if that would be ok. I’m undoubtedly enjoying your blog and look forward to new updates.

  2. I’m extremely impressed with your writing skills as well as with the
    layout on your blog. Is this a paid theme or did you customize it yourself?
    Anyway keep up the nice quality writing, it is
    rare to see a great blog like this one nowadays.

  3. I write commonly and I genuinely value your web content. This wonderful article has undeniably actually peaked my attention. I am likely going to book mark your site and also keep looking for new details regarding once a week. I opted in for your RSS feed likewise.

  4. I do believe all of the concepts you have offered for your post.
    They’re very convincing and can certainly work. Still, the posts
    are very quick for starters. May you please prolong them a little from next time?
    Thanks for the post.

Agrega tu comenatio