CPC G06F 16/211 (2019.01) [G06F 9/547 (2013.01); G06F 16/2282 (2019.01); G06F 16/2433 (2019.01)] | 20 Claims |
1. A system, comprising:
a GraphQL server comprising a processor and a memory, wherein the GraphQL server is configured to perform actions comprising:
generating a partial GraphQL schema from a GraphQL standard definition language (SDLP) file, wherein the GraphQL SDL file includes an annotation indicating that a particular data-handling script is dynamically resolved and executed when a particular field or a particular type of the partial GraphQL schema is referenced;
receiving a GraphQL query that references the particular field or the particular type of the partial GraphQL schema;
executing the GraphQL query to generate GraphQL results, wherein executing the GraphQL query comprises dynamically resolving the particular data-handling script based on the annotation in the GraphQL SDL file and dynamically executing the particular data-handling script to retrieve information associated with the particular field or the particular type; and
providing the GraphQL results in response to the GraphQL query.
|