Commit df1e4f0
authored
Change mock json to use alwaysFakeOptionals=false
Why: For some complex schemas, the mock library hangs.
This is possibly because of a bug leading to an infinite loop, or more probably because the nature of the schema leading to exponential amount of optional fields to be generated
Setting alwaysFakeOptionals to false fixes this issue for the schema that caused the error1 parent f4c6692 commit df1e4f0
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments