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
Hello! I found small bug with field exclusion and views:
class Print < Blueprinter::Base field :first_name field :last_name view :exclude_last_name do exclude :last_name end view :foo do include_view :exclude_last_name end end result = Print.render_as_hash({first_name: 1, last_name: 2}, view: :foo)
Expected:
{:first_name=>1}
Got:
{:first_name=>1, :last_name=>2}
The text was updated successfully, but these errors were encountered:
Merge pull request #208 from tpltn/fix-field-exclusion
9dc6743
fix field exclusion for views Resolves #207
Successfully merging a pull request may close this issue.
Hello! I found small bug with field exclusion and views:
Expected:
Got:
The text was updated successfully, but these errors were encountered: