Closed matomesc closed 4 years ago
you can try using postprocessor to cast the string to your format
entity: User
items:
user0:
comment: 'here is a liquid template [[ my_variable ]]'
and in postprocessor replaced to {{ ... }}
Great that works, thanks for the help.
Due to https://github.com/RobinCK/typeorm-fixtures/blob/master/src/parsers/FakerParser.ts#L15 it's impossible to have a string with literal double curly, for example:
will fail to build with a
Invalid module: my_variable
exception thrown byfaker
.