Skip to content

Array && Variable #22

Description

@jmengelle

I did a reviver for convert value to Array, like mentionned in documentation :

//Split all the string values by a comma
if (typeof value === "string"){
  var values = value.split (",");
  return values.length === 1 ? value : values;
}

But if i refer to a properties that is an array as a variable, i got an error :
[Error: The property "solr.import.collections" does not exist]

Properties look like :

a=string1,string2
b=${a}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions