Skip to content

Fix for #215. Allow delegate_attribute for derived classes#231

Closed
sbatykov wants to merge 5 commits intoruby-grape:masterfrom
sbatykov:fix_for_delegate_attribute
Closed

Fix for #215. Allow delegate_attribute for derived classes#231
sbatykov wants to merge 5 commits intoruby-grape:masterfrom
sbatykov:fix_for_delegate_attribute

Conversation

@sbatykov
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread CHANGELOG.md Outdated
* [#215](https://github.com/ruby-grape/grape-entity/pull/217): Fix: `#delegate_attribute` no longer delegates to methods included with `Kernel` - [@maltoe](https://github.com/maltoe).
* [#219](https://github.com/ruby-grape/grape-entity/pull/219): Fix: double pass options in serializable_hash - [@sbatykov](https://github.com/sbatykov).
* [#226](https://github.com/ruby-grape/grape-entity/pull/226): Add fetch method to fetch from opts_hash - [@alanjcfs](https://github.com/alanjcfs).
* [#231](https://github.com/ruby-grape/grape-entity/pull/231): Fix for #215 allow delegate_attribute for derived enyity - [@sbatykov](https://github.com/sbatykov)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're going to mention #215, link it the same way as the PR, but generally we just don't.

Entity is misspelled.

There needs to be a period at the end of this, see other lines;)

@dblock
Copy link
Copy Markdown
Member

dblock commented Jun 29, 2016

This is great, just amend the text changes and I'll merge. Don't hesitate to squash the commits too. Thanks.

@anakinj
Copy link
Copy Markdown
Contributor

anakinj commented Sep 8, 2016

It would be great to handle the delegation properly in the next version. Do you @sbatykov have the intention to finalize this?

@anakinj
Copy link
Copy Markdown
Contributor

anakinj commented Oct 12, 2016

What is the status of this one, we are forced to do some ugly stuff to handle the degraded inheritance support #217 introduced.

@dblock
Copy link
Copy Markdown
Member

dblock commented Oct 12, 2016

Merged via 22033a6.

@anakinj Can you please check HEAD out before we cut a release?

@dblock dblock closed this Oct 12, 2016
@anakinj
Copy link
Copy Markdown
Contributor

anakinj commented Oct 13, 2016

@dblock, works like a charm. Thanks for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants