[libtype-tiny-perl] 02/46: TODO

Jonas Smedegaard dr at jones.dk
Fri Sep 12 18:48:01 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to tag 1.001_000
in repository libtype-tiny-perl.

commit 6983785e709573c214c96d5cbabc18786821f635
Author: Toby Inkster <mail at tobyinkster.co.uk>
Date:   Mon Aug 18 23:39:02 2014 +0100

    TODO
---
 TODO | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/TODO b/TODO
index 8105e4c..75929e4 100644
--- a/TODO
+++ b/TODO
@@ -4,6 +4,17 @@ Post-1.000000 Changes
 * Type::Params should provide compile_named/validate_named functions
   tailored for named parameters rather than using the slurpy Dict hack.
 
+* Type::Utils::dwim_type shouldn't fall back to pulling types from the
+  Moose/Mouse type registry unless the caller is a Moose/Mouse-based
+  package *OR* it is explicitly requested like
+  
+     dwim_type("Foo", using => "Mouse")
+  
+* Also, there should be a way to disable Type::Utils::dwim_type falling
+  back to making a class_type. Instead of does=>1, it should be more like
+  fallback=>"make_class_type"|"make_role_type"|undef. Still need to
+  support does=>1 for back-compat.
+
 * Try to make inlining for ClassName, RoleName, StrMatch, etc more
   suitable for things like Mite.
 
@@ -31,3 +42,6 @@ Post-1.000000 Changes
   add_type_coercions to succeed?
 
 * to_TypeTiny's _TypeTinyFromGeneric could support inlining?
+
+* Investigate some more method overrides in Type::Tiny::Union - look at
+  what Moose::Meta::TypeConstraint::Union does.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtype-tiny-perl.git



More information about the Pkg-perl-cvs-commits mailing list