INNER CODE UNIT · Rust

max_union_types

apollographql/apollo-rs · crates/apollo-smith/src/lib.rs:200

    pub fn max_union_types(mut self, max: usize) -> Self {
        self.max_union_types = max;
        self
    }

    /// Set the maximum number of input object type definitions (default 50).
    pub fn max_input_object_types(mut self, max: usize) -> Self {
        self.max_input_object_types = max;
        self
    }

    /// Set the maximum number of fragment definitions (default 50).
    pub fn max_fragment_definitions(mut self, max: usize) -> Self {
        self.max_fragment_definitions = max;
        self
    }

    /// Set the maximum number of directive definitions (default 50).

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…