#1199: AgaviValidator sets dependencies per argument base
-----------------------------------------+----------------------------------
 Reporter:  sven.kretschm...@…           |       Owner:  dominik             
     Type:  enhancement                  |      Status:  new                 
 Priority:  normal                       |   Milestone:  1.1                 
Component:  validation                   |     Version:  1.0.1               
 Severity:  normal                       |    Keywords:  validator dependency
Has_patch:  0                            |  
-----------------------------------------+----------------------------------
Changes (by david):

  * milestone:  1.0.3 => 1.1


Comment:

 Sounds similar to the change we did to "export" where you can use
 {{{sprintf()}}} syntax, except that this one would break BC quite a bit;
 right now you can do:
 {{{
 #!xml
 <validator … provides="fubar">
   <arguments base="foo[]">
     <argument>bar</argument>
   </arguments>
 </validator>
 <validator … depends="[fubar]">
   <arguments base="foo[]">
     <argument>baz</argument>
   </arguments>
 </validator>
 }}}
 which is, arguably, ugly and/or broken, and not what one would expect.

 An {{{sprintf}}} syntax would allow for a lot more flexibility, including
 depending on "provide"s in other argument bases, but that needs some
 thought and speccing.

 Moving  to 1.1.

-- 
Ticket URL: <http://trac.agavi.org/ticket/1199#comment:3>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5



_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to