Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ToExpression(this IEnumerable<LabelSelector> selectors) extensio…
…n method returns wrong result Current inplementation of ```ToExpression(this IEnumerable<LabelSelector> selectors)``` extension method returns wrong result ``` EqualsSelector { Label = app, Values = System.String[] },NotEqualsSelector { Label = srv, Values = System.String[] } ``` it just serialize record LabelSelector to ```EqualsSelector { Label = app, Values = System.String[] }``` or to ```NotEqualsSelector { Label = srv, Values = System.String[] }``` instead of calling implicit to string convertor. The proposed pull request corrects this unpleasant behavior. Tests are attached. Co-authored-by: Christoph Bühler <[email protected]>
- Loading branch information