mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-01-29 11:58:23 +01:00
4c78721f03
* [ParameterValidator] Ensure context has all fields Previously if a bridge had a set of parameters like: const PARAMETERS = array( 'ContextA' => array( 'Param1' => array( 'name' => 'Param1', 'required' => true ) ), 'ContextB' => array( 'Param1' => array( 'name' => 'Param1', 'required' => true ), 'Param2' => array( 'name' => 'Param2', 'required' => true ) ) ) and a query specifying both Param1 and Param2 was provided a 'Mixed context parameters' error would be returned. This change ensures ContextA in the above example would not be considered a relevant context.