US 11,720,532 B2
System and method for customized graphQL data-handling scripts
David Tamjidi, San Diego, CA (US); and Stuart Dean Swope, San Diego, CA (US)
Assigned to ServiceNow, Inc., Santa Clara, CA (US)
Filed by ServiceNow, Inc., Santa Clara, CA (US)
Filed on Dec. 6, 2021, as Appl. No. 17/457,867.
Application 17/457,867 is a continuation of application No. 16/784,007, filed on Feb. 6, 2020, granted, now 11,263,186.
Prior Publication US 2022/0092038 A1, Mar. 24, 2022
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 16/21 (2019.01); G06F 9/54 (2006.01); G06F 16/242 (2019.01); G06F 16/22 (2019.01)
CPC G06F 16/211 (2019.01) [G06F 9/547 (2013.01); G06F 16/2282 (2019.01); G06F 16/2433 (2019.01)] 20 Claims
OG exemplary drawing
 
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.