projects
/
gitmo/MooseX-Storage.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Ok, so, the interface just changed, and the docs are complete crap now, but the imple...
[gitmo/MooseX-Storage.git]
/
lib
/
MooseX
/
Storage
/
Engine
/
Trait
/
DisableCycleDetection.pm
diff --git
a/lib/MooseX/Storage/Engine/Trait/DisableCycleDetection.pm
b/lib/MooseX/Storage/Engine/Trait/DisableCycleDetection.pm
index
717e243
..
b0ab38c
100644
(file)
--- a/
lib/MooseX/Storage/Engine/Trait/DisableCycleDetection.pm
+++ b/
lib/MooseX/Storage/Engine/Trait/DisableCycleDetection.pm
@@
-1,5
+1,11
@@
package MooseX::Storage::Engine::Trait::DisableCycleDetection;
use Moose::Role;
+around 'check_for_cycle_in_collapse' => sub {
+ my ($orig, $self, $attr, $value) = @_;
+ # See NOTE in MX::Storage::Engine
+ return $value;
+};
+
1;