Class: Spikard::SchemaConfig

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSchemaConfig

Returns a new instance of SchemaConfig.

Parameters:

  • introspection_enabled: (Boolean)
  • complexity_limit: (Integer)
  • depth_limit: (Integer)


59
# File 'sig/types.rbs', line 59

def initialize: (?introspection_enabled: bool, ?complexity_limit: Integer, ?depth_limit: Integer) -> void

Instance Attribute Details

#complexity_limitInteger?

Returns the value of attribute complexity_limit.

Returns:

  • (Integer, nil)


56
57
58
# File 'sig/types.rbs', line 56

def complexity_limit
  @complexity_limit
end

#depth_limitInteger?

Returns the value of attribute depth_limit.

Returns:

  • (Integer, nil)


57
58
59
# File 'sig/types.rbs', line 57

def depth_limit
  @depth_limit
end

#introspection_enabledBoolean?

Returns the value of attribute introspection_enabled.

Returns:

  • (Boolean, nil)


55
56
57
# File 'sig/types.rbs', line 55

def introspection_enabled
  @introspection_enabled
end

Class Method Details

.defaultSchemaConfig

Returns:



60
# File 'sig/types.rbs', line 60

def self.default: () -> SchemaConfig