Enables your PHP application to expose its entities as REST resources using the feature rich JSON:API specification as API. How and to whom your entities are exposed is highly customizable while minimizing boilerplate code.
MIT License
2
stars
1
forks
source link
Validate condition-specific filter format more thorough #144
[ ] Implement getFormatConstraints in conditions: Currently the AbstractCondition implementation will simply return an empty array. This method implementation should be removed so that child classes are forced to implement it correctly, which also needs to be done in this issue.
[ ] Do not simply return an empty array in PredefinedDrupalConditionFactory::getSupportedOperators: maybe remove this approach altogether in favor of the new AbstractCondition approach?
[ ] Consider constraints during validation in DrupalFilterValidator: use constraints provided for each operator in context of the corresponding operator name to validate Drupal conditions
getFormatConstraints
in conditions: Currently theAbstractCondition
implementation will simply return an empty array. This method implementation should be removed so that child classes are forced to implement it correctly, which also needs to be done in this issue.PredefinedDrupalConditionFactory::getSupportedOperators
: maybe remove this approach altogether in favor of the newAbstractCondition
approach?DrupalFilterValidator
: use constraints provided for each operator in context of the corresponding operator name to validate Drupal conditions