- تاریخ ثبتنام
- 2020-06-26
- نوشتهها
- 24,281
- راهحلها
- 27
- پسندها
- 3,277
- امتیازها
- 113
- سن
- 28
- محل سکونت
- England
- وب سایت
- xenforo.xyz
When implementing additional criteria, XF exposes the method
The problem is if XF doesn't implement one, it returns
IE implementing
I think the better solution would be for XF to implement a base criteria...
XF\Webhook\Event\AbstractHandler::getCriteriaClass.The problem is if XF doesn't implement one, it returns
null. So if a 3rd party add-on implements it, it will override any other 3rd party criteria class and any future XF criteria.IE implementing
XF\Webhook\Event\PostHandler::getCriteriaClass will override any future post criteria.I think the better solution would be for XF to implement a base criteria...
نام موضوع : Webhook criteria are not easily composable
