System and method for customized graphQL data-handling scripts
Abstract
The present disclosure is directed to a modified GraphQL server that enables application developers to define custom GraphQL schema fragments. For example, a developer may provide the GraphQL server with a GraphQL standard definition language (SDL) file having annotations that indicate that a customized data-handling script, such as a custom data-fetching script or a custom type resolver script, be called for handling certain data types or fields. These customized data-handling scripts are resolved and called at runtime based on the annotations in the GraphQL SDL file. By enabling developers to define schema fragments in the SDL language and implement data-handling scripts in a suitable scripting language, schema portability can be maintained across client instances, as well as instance release versions. Additionally, the disclosed approach enables enhanced modularity and reuse of previously defined data types and data-handling scripts, which increases developer productivity and reduces errors during application development.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 26 · Forward citations: 0.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A system, comprising: a GraphQL server comprising a processor and a memory, wherein the GraphQL server is configured to perform actions comprising: receiving a GraphQL standard definition language (SDL) file that defines a partial GraphQL schema; analyzing the GraphQL SDL file to identify an annotation indicating 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; in response to determining that the particular data-handling script has not been defined, creating a template for the partic
- Claim 2Depends on #1
The system of claim 1 , wherein the system comprises a database server communicatively coupled to
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (26)
Non-Patent Literature (3)
- U.S. Appl. No. 16/133,438, filed Sep. 17, 2018, Nelson et al.
- U.S. Appl. No. 16/392,260, filed Apr. 23, 2019, Tamjidi et al.
- U.S. Appl. No. 16/434,071, filed Jun. 6, 2019, Swope et al.