Skip to content
This repository

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

Closed
clintongormley opened this Issue · 0 comments

1 participant

Clinton Gormley
Clinton Gormley

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';
Clinton Gormley clintongormley closed this issue from a commit
Clinton Gormley Fix the application of roles with Elastic::Model and Elastic::Doc
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.

Closes #13
0521a84
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.