foundeo / cfdocs

Repository for the cfdocs.org site.

Home Page:https://cfdocs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

createObject

cfcoder opened this issue · comments

It shows all parameters as "Required". I think only the first two are required, at least for type "component".

It's not all parameters that are marked as required. The problem is that some of those parameters may be required depending on type. That issue actually comes down to lack of support for multiple signatures (See #529). However, some of these parameters may also be incorrectly marked as required and at least a couple (component_name and urltowsdl) can be removed as they're redundant with className.

Perhaps a different method of display where parameters that are required are marked as conditionally required depenedent on the type?

@cfcoder I think that would still generally fall under #529. Any other solution would be too specific/narrow.

@KamasamaK I somehow missed your reference to 529. I agree that One covers this issue.