What is the origin of GraphQL’s term “fieldAST”
I am working through all the GraphQL stuff I can find and have been using a variable called fieldAST which sets up a projection–in formal database terms–across the properties of the object being queried or mutated.
I cannot find where the term comes from, or what AST means as an acronym. What is the deal?
AST is “Abstract Syntax Tree”. AST is what parsers often outputs as a result, it’s a machine-readable structure that represents the actual code (GraphQL query in this case). Thus
fieldASTs are parsed fields of the current selection, represented as their Abstract Syntax Trees.
- Database Administration Tutorials
- Programming Tutorials & IT News
- Linux & DevOps World
- Ebook Reviews
- PES Matches, Skills & News