Skip to main content

load_graphql_schema

Function load_graphql_schema 

Source
pub fn load_graphql_schema(
    url: &str,
    auth_headers: &[(String, String)],
    cache_key: Option<&str>,
    ttl: Option<u64>,
    refresh: bool,
) -> Result<Value>
Expand description

POST introspection query to a GraphQL endpoint, with caching.