Class: Spikard::DynamicSchemaConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDynamicSchemaConfig

Returns a new instance of DynamicSchemaConfig.

Parameters:

  • introspection_enabled: (Boolean)
  • max_complexity: (Integer)
  • max_depth: (Integer)
  • field_errors: (Array[FieldErrorSpec])


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

def initialize: (?introspection_enabled: bool, ?max_complexity: Integer, ?max_depth: Integer, ?field_errors: Array[FieldErrorSpec]) -> void

Instance Attribute Details

#field_errorsArray[FieldErrorSpec]?

Returns the value of attribute field_errors.

Returns:



36
37
38
# File 'sig/types.rbs', line 36

def field_errors
  @field_errors
end

#introspection_enabledBoolean?

Returns the value of attribute introspection_enabled.

Returns:

  • (Boolean, nil)


33
34
35
# File 'sig/types.rbs', line 33

def introspection_enabled
  @introspection_enabled
end

#max_complexityInteger?

Returns the value of attribute max_complexity.

Returns:

  • (Integer, nil)


34
35
36
# File 'sig/types.rbs', line 34

def max_complexity
  @max_complexity
end

#max_depthInteger?

Returns the value of attribute max_depth.

Returns:

  • (Integer, nil)


35
36
37
# File 'sig/types.rbs', line 35

def max_depth
  @max_depth
end