INNER CODE UNIT · Rust

max_fragment_definitions

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

    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).
    pub fn max_directive_definitions(mut self, max: usize) -> Self {
        self.max_directive_definitions = max;
        self
    }

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

    /// Generate random definitions according to the configured maximums

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…