Skip to content

Commit

Permalink
Mark document classes which should not create their own mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
clintongormley committed Apr 17, 2015
1 parent 6d009fc commit 09e0adc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/MetaCPAN/Document/Author/Profile.pm
Expand Up @@ -6,6 +6,8 @@ use warnings;
use Moose;
use ElasticSearchX::Model::Document;

with 'ElasticSearchX::Model::Document::EmbeddedRole';

use MetaCPAN::Util;

has name => (
Expand Down
2 changes: 2 additions & 0 deletions lib/MetaCPAN/Document/Dependency.pm
Expand Up @@ -6,6 +6,8 @@ use warnings;
use Moose;
use ElasticSearchX::Model::Document;

with 'ElasticSearchX::Model::Document::EmbeddedRole';

use MetaCPAN::Util;

has [qw(phase relationship module version)] => ( is => 'ro', required => 1 );
Expand Down
2 changes: 2 additions & 0 deletions lib/MetaCPAN/Document/Module.pm
Expand Up @@ -6,6 +6,8 @@ use warnings;
use Moose;
use ElasticSearchX::Model::Document;

with 'ElasticSearchX::Model::Document::EmbeddedRole';

use MetaCPAN::Types qw(AssociatedPod);
use MetaCPAN::Util;

Expand Down

0 comments on commit 09e0adc

Please sign in to comment.