pub fn new(config: GeneratorConfig) -> Self {
        Self {
            schema: BTreeMap::new(),
            incomplete_enums: BTreeSet::new(),
            index_state: BTreeMap::new(),
            depth_limit: config.depth_limit,
        }
    }
/// Create a new generator with the given configuration. All methods called on this instance
/// will modify a shared representation of types. Therefore different calls to resolve_type and
/// resolve_type_once can impact one another.
Create a new generator with the given configuration. All methods called on this instance
will modify a shared representation of types. Therefore different calls to resolve_type and
resolve_type_once can impact one another.
Create a new generator with the given configuration . All methods called on this instance will modify a shared representation of types . Therefore different calls to resolve_type and resolve_type_once can impact one another .
pub fn new(config: GeneratorConfig) -> Self {
        Self {
            schema: BTreeMap::new(),
            incomplete_enums: BTreeSet::new(),
            index_state: BTreeMap::new(),
            depth_limit: config.depth_limit,
        }
    }
pub fn new ( config : GeneratorConfig ) -> Self { Self { schema : BTreeMap :: new ( ) , incomplete_enums : BTreeSet :: new ( ) , index_state : BTreeMap :: new ( ) , depth_limit : config . depth_limit , } }
Create a new generator with the given configuration.
Create a new generator with the given configuration .
config
GeneratorConfig
config
GeneratorConfig