Bio::Chado::Schema inner class name change for 0.08000 release

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bio::Chado::Schema inner class name change for 0.08000 release

Robert Buels
Hi all,

Just a heads up, for the upcoming release 0.08000 of Bio::Chado::Schema,
among other enhancements, the names of the inner classes will change
slightly to use DBIx::Class's more modern 'load_namespaces' method of
class loading, rather than the current 'load_classes'.

For now, the only effect of this will be that inner class names will
have an extra ::Result in them, for example
Bio::Chado::Schema::Sequence::Feature will change to
Bio::Chado::Schema::Result::Sequence::Feature.

Normal application code that accesses the result sets and result source
through DBIx::Class methods will not be affected, that is,
$schema->resultset('Sequence::Feature') will work the same as before.

However, if you have any code that depends on the exact form of the
inner Bio::Chado::Schema class names, such as custom schema-loading
code, isa_ok tests, or things like that, you may need to make some
adjustments.  Usually, either just changing it to expect ::Result in the
class names and then requiring BCS 0.08000 is the easiest thing to do,
or alternatively you might detect the BCS version with
$Bio::Chado::Schema::VERSION and special-case accordingly.

For testing your code with the new version, a trial release of 0.08000
is available on CPAN at
http://search.cpan.org/~rbuels/Bio-Chado-Schema-0.08000-TRIAL/ 
(developer releases are not automatically downloaded by CPAN clients),
or you can clone the development version from github
(http://github.com/solgenomics/bio-chado-schema).

Thanks!

Rob

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Gmod-schema mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gmod-schema