What is AST in graphql? -


what ast in graphql ? using graphql-js. how anything?

nothing in documentation seems explain ast is

graphql 2 things:

  1. a query language
  2. a type system

when graphql server receives query process comes in string. string must tokenized , parsed representation machine understands. representation called abstract syntax tree.

when graphql processes query, walks tree executing each part against schema.

converting raw strings ast first step of every compiler c++ chrome's javascript's vm babel.

as graphql , how helps, here video may explain in bit more detail. https://www.youtube.com/watch?v=pmwho45wmqy


Comments

Popular posts from this blog

php - Embed BBCode within itself not working -

three.js - how to load gltf in three JS -

sql server - T-SQL: Access DB objects in same schema without qualifying? -