We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently this is the only way you can set metadata fields of type multiple using Almodovar:
title.metadata.update :metadata => { :genres => [ {:genre => "Drama"}, {:genre => "Thriller"}] }
that generates the following XML…
<metadata> <genres type="array"> <genre> <genre>Drama</genre> </genre> <genre> <genre>Thriller</genre> </genre> </genres> </metadata>
…which is not the right XML but still it seems to work thanks to some ActiveSupport's black magic in the side of the server.
Ugly.
What Almodovar should support is this:
title.metadata.update :metadata => { :genres => ["Drama", "Thriller"] }
…which would generate this:
<metadata> <genres type="array"> <genre>Drama</genre> <genre>Thriller</genre> </genres> </metadata>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently this is the only way you can set metadata fields of type multiple using Almodovar:
that generates the following XML…
…which is not the right XML but still it seems to work thanks to some ActiveSupport's black magic in the side of the server.
Ugly.
What Almodovar should support is this:
…which would generate this:
The text was updated successfully, but these errors were encountered: