-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Meta no longer handled in Base adapter. #1695
Conversation
hash = serializable_hash(options) | ||
include_meta(hash) | ||
hash | ||
serializable_hash(options) | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alias method should be fine here, unless we want to keep the root
option here like in the am:s:j in rails
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It failed because the alias
would be bound to the pre-inheritance placeholder method.
Tests failing because of cyclomatic complexity of |
@beauby wow, yeah -- it doesn't even look that bad. As a whole, LGTM, nice work |
Now Appveyor is failing for no reason. |
👍 |
* Assert Schema * Fix regression from #1695 where JSONAPI renders empty meta * Add changelog
Make each relevant adapter (i.e.
Json
andJsonApi
) handle top levelmeta
.