Hello all,

 

Just sending this to let you see my comments on the latest commit:

 

This adds back in typing details for methods and arguments. All cffunctions now have returntype="any" _returntype="xyz". Where xyz is the type of data being returned. All arguments have the same for the type argument.

 

This is both to document the type and to allow it to show up in calls to getmetadata/generated docs, etc.

 

This means that reactor is still duck typed but now the methods still include the typing information for documentation and metadata purposes. 

 

For contributors this means that there’s a new standard for code:  set all returntypes and types to “any” but also include the “real” type in a _type or _returntype arguments.

 

Thanks,

 

Doug


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to