mirror of
https://github.com/ditkrg/schemable.git
synced 2026-01-22 22:26:41 +00:00
Updates change log for v1.0.3
This commit is contained in:
parent
d212a2904e
commit
96911aab98
@ -1,6 +1,10 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
This file is used to list changes made in each version of the Schemable gem.
|
This file is used to list changes made in each version of the Schemable gem.
|
||||||
|
|
||||||
|
## Schemable 1.0.3 (2024-01-30)
|
||||||
|
|
||||||
|
* Added configuration for preventing expansion for nested relationships. This can be done by setting the `expand_nested` to `true` when invoking `ResponseSchemaGenerator`'s `generate` instance method (e.g. `ResponseSchemaGenerator.new(instance).generate(expand: true, expand_nested: true)`. Additionally, you could globally set the value of `expand_nested` to the same value as `expand` by setting the configuration `infer_expand_nested_from_expand` to `true` in the `/config/initializers/schemable.rb`.
|
||||||
|
|
||||||
## Schemable 1.0.2 (2024-01-30)
|
## Schemable 1.0.2 (2024-01-30)
|
||||||
|
|
||||||
* Added configuration for making certain associations nullable in the response's relationship. This can be done by adding the name of the relation in the `nullable_relationships` method's array of strings.
|
* Added configuration for making certain associations nullable in the response's relationship. This can be done by adding the name of the relation in the `nullable_relationships` method's array of strings.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user