Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

converter option not resolving correctly to classname of array attribute in v4.0.2 #511

Closed
agustindaguerre opened this issue Jul 2, 2021 · 0 comments
Labels

Comments

@agustindaguerre
Copy link

After bumping from 4.0.1 to 4.0.2 usage of converter: :new option in a array attribute broke resolving to correct class.

Example:

array :summaries do
  object converter: :new
end

This does not longer resolve to use Summary class after updating, now we have to specify the class for it to work as expected:

array :documentaries do
  object class: Summary, converter: :new
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants