graphgen icon indicating copy to clipboard operation
graphgen copied to clipboard

Parse error if a randomElement has a full stop in it

Open robertlagrant opened this issue 7 years ago • 0 comments

String

Works:

    (thing:Thing { number: {randomElement:['Hello']} } *10)

Doesn't work:

    (thing:Thing { number: {randomElement:['Hello.']} } *10)

    // The part "(thing:Thing { number: {randomElement:['Hello.']} } *10)" could not be parsed, check it for type errors.

Number

Works:

    (thing:Thing { number: {randomElement:[1]} } *10)

Doesn't work:

    (thing:Thing { number: {randomElement:[1.1]} } *10)

    // The part "(thing:Thing { number: {randomElement:[1.1]} } *10)" could not be parsed, check it for type errors.

Number in string

Works:

    (thing:Thing { number: {randomElement:['1']} } *10)

Doesn't work:

    (thing:Thing { number: {randomElement:['1.1']} } *10)

    // The part "(thing:Thing { number: {randomElement:['1.1']} } *10)" could not be parsed, check it for type errors.

robertlagrant avatar Feb 27 '18 17:02 robertlagrant