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
index 717e243..b0ab38c 100644 (file)
@@ -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;