deprecation warnings
[dbsrgits/DBIx-Class-DeploymentHandler.git] / lib / DBIx / Class / DeploymentHandler / Deprecated / WithDeprecatedVersionStorage.pm
index b8bf470..0ce6227 100644 (file)
@@ -1,12 +1,14 @@
 package DBIx::Class::DeploymentHandler::Deprecated::WithDeprecatedVersionStorage;
 use Moose::Role;
 
+# ABSTRACT: (DEPRECATED) Use this if you are stuck in the past
+
 use DBIx::Class::DeploymentHandler::VersionStorage::Deprecated;
 
 has version_storage => (
   does => 'DBIx::Class::DeploymentHandler::HandlesVersionStorage',
   is  => 'ro',
-  lazy_build => 1,
+  builder => '_build_version_storage',
   handles =>  'DBIx::Class::DeploymentHandler::HandlesVersionStorage',
 );
 
@@ -17,6 +19,19 @@ sub _build_version_storage {
 
 1;
 
+# vim: ts=2 sw=2 expandtab
+
 __END__
 
-vim: ts=2 sw=2 expandtab
+=head1 DEPRECATED
+
+This component has been suplanted by
+L<DBIx::Class::DeploymentHandler::WithStandardVersionStorage>.
+In the next major version (1) we will begin issuing a warning on it's use.
+In the major version after that (2) we will remove it entirely.
+
+=head1 DELEGATION ROLE
+
+This role is entirely for making delegation look like a role.  The actual
+docs for the methods and attributes are at
+L<DBIx::Class::DeploymentHandler::VersionStorage::Deprecated>