Hello, I have a question. In the following example, parameter C is incompatible with parameters A and B. However, parameters A and B are dependent, that is, if I send A, it is mandatory to send B and vice versa. How can I define this dependency with QueryParam. Thanks in advance.
/**
* QueryParam(name="paramA", nullable=true, description="Search by paramA")
* QueryParam(name="paramB", nullable=true, description="Search by paramB")
* QueryParam(name="paramC", nullable=true, incompatibles={"paramA", "paramB"}, description="Search by paramC")
*/
public function search(ParamFetcher $paramFetcher)
{
}
Hello, I have a question. In the following example, parameter C is incompatible with parameters A and B. However, parameters A and B are dependent, that is, if I send A, it is mandatory to send B and vice versa. How can I define this dependency with QueryParam. Thanks in advance.