lib/schemable/configuration.rb in schemable-1.0.2 vs lib/schemable/configuration.rb in schemable-1.0.3
- old
+ new
@@ -14,10 +14,11 @@
:use_serialized_instance,
:custom_defined_enum_method,
:enum_prefix_for_simple_enum,
:enum_suffix_for_simple_enum,
:custom_meta_response_schema,
+ :infer_expand_nested_from_expand,
:infer_attributes_from_custom_method,
:infer_attributes_from_jsonapi_serializable
)
# Initializes a new Configuration instance with default values.
@@ -30,9 +31,10 @@
@use_serialized_instance = false
@custom_defined_enum_method = nil
@custom_meta_response_schema = nil
@enum_prefix_for_simple_enum = nil
@enum_suffix_for_simple_enum = nil
+ @infer_expand_nested_from_expand = false
@infer_attributes_from_custom_method = nil
@infer_attributes_from_jsonapi_serializable = false
end
# Returns a type mapper for a given type name.