File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,10 @@ export class Fake {
17
17
/**
18
18
* Generator method for combining faker methods based on string input.
19
19
*
20
- * This will check the given string for placeholders and replace them by calling the specified faker method.
20
+ * Note: If you just want to create a string on the fly, we recommend using string template literals instead.
21
+ * This method is useful if you wish to choose a random format from a non-executable source or persistent storage (json etc.).
22
+ *
23
+ * It checks the given string for placeholders and replace them by calling the specified faker method.
21
24
* E.g. the input `Hi, my name is {{name.firstName}}!`,
22
25
* will use the `faker.name.firstName()` method to resolve the placeholder.
23
26
* It is also possible to combine static text with placeholders,
You can’t perform that action at this time.
0 commit comments