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

Already on GitHub? Sign in to your account

Elastic::Doc not applying roles properly to extended classes #13

clintongormley opened this Issue Oct 10, 2012 · 0 comments


None yet
1 participant

clintongormley commented Oct 10, 2012

Using classes which extend other classes as doc classes was not working correctly. The Elastic::Model::Role::Doc role was being applied to the base class, and then removed after the class was extended:

package Foo;
use Elastic::Doc;
extends 'Foo::Other';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment