Closed ethimjos-velo closed 6 years ago
Good observations. Thanks for the report. I will fix this.
Should be fixed by https://github.com/Jaguar-dart/jaguar_orm/commit/679f53b681fdd5f1e99ca359c595ab264ae1e8b8.
Please reopen the issue if this does not fix it.
Thanks!
Problem: The generator adds an additional await keyword when generating the code for the update function.
Cause: Taking a look at the generator's writer class, line 473, I saw that there is an additional call to the _writeln() function which prints the await keyword.
Suggested Fix : Remove the redundant function call _writeln('await ') at line 473;