lib/templates/schemable.rb in schemable-1.0.2 vs lib/templates/schemable.rb in schemable-1.0.3

- old
+ new

@@ -39,9 +39,14 @@ # and you use that method to return an array of symbols that are the attributes # to be serialized then you can set the below to `base_attributes` # # config.infer_attributes_from_custom_method = nil + # If you want to recursively expand the relationships in the response schema + # then set this option to true, otherwise set it to false (default). + # + # config.infer_expand_nested_from_expand = true + # If you want to get the list of attributes from the jsonapi-rails gem's # JSONAPI::Serializable::Resource class, set this option to true. # It uses the attribute_blocks method to get the list of attributes. # # config.infer_attributes_from_jsonapi_serializable = false