budde377 / Part

Framework for developing websites written in PHP/Dart.
MIT License
2 stars 0 forks source link

Add check arguments in GenericAJAXTypeHandlerImpl #84

Closed budde377 closed 9 years ago

budde377 commented 9 years ago

Either check in canHandle or in handle. if in canHandle opens the possibility for defining multiple Types of same name with functions only different on the type of the argument. which is good I think.


Imported from Bitbucket Originally reported by: Christian Budde Christensen (2014-09-13T19:16:17.742)

budde377 commented 9 years ago
  1. check if optional
  2. check if types match
  3. is expecting array

Original comment by: Christian Budde Christensen (2014-09-13 17:17:43+00:00)