Allow comma in array values

What does this MR do and why?

Behavior of ::API::Validations::Types::CommaSeparatedToArray.coerce:

Before:

  • "a,b,c" => ["a", "b", "c"]
  • ["a", "b", "c"] => ["a", "b", "c"]
  • ["a", "b,c"] => ["a", "b", "c"]

After:

  • "a,b,c" => ["a", "b", "c"]
  • ["a", "b", "c"] => ["a", "b", "c"]
  • ["a", "b,c"] => ["a", "b,c"]

References

Fixes #562212

Merge request reports

Loading