Struct graphql_config::GraphQLProjectConfiguration[][src]

pub struct GraphQLProjectConfiguration {
    pub name: Option<String>,
    pub schema_path: Option<PathBuf>,
    pub includes: Option<Vec<String>>,
    pub excludes: Option<Vec<String>>,
    pub extensions: Option<BTreeMap<String, Value>>,
}

The top-level configuration and project-specific configurations share this shape.

Fields

The name of the project. The specification says this should default to the key of the project object if absent, this this not enforced.

A file with schema IDL.

For multiple applications with overlapping files, these configuration options may be helpful.

For multiple applications with overlapping files, these configuration options may be helpful.

If you'd like to specify any other configurations, graphql-config provides a reserved namespace for it.

Trait Implementations

impl PartialEq for GraphQLProjectConfiguration
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for GraphQLProjectConfiguration
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations