-
Notifications
You must be signed in to change notification settings - Fork 21
feat: enable iOS sdk generation after invoking model generator #260
Conversation
this.itemsToIgnore[item] | ||
) | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the above block, I'm trying to see when this might be needed. Can you help me understand the flow that introduces new entries in this.itemsToIgnore
after the .gitignore
file is written? Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tunniclm Well I first noticed it in the integration tests that multiple references to an iOS SDK were being added to the .gitignore
. It can also happen with multiple runs of the yo swiftserver:model
command, which is possible right now, but maybe not encouraged, not sure?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks. Makes total sense. It is absolutely fine to run the model generator multiple times.
Codecov Report
@@ Coverage Diff @@
## develop #260 +/- ##
=========================================
- Coverage 90.04% 90% -0.05%
=========================================
Files 11 11
Lines 1236 1240 +4
=========================================
+ Hits 1113 1116 +3
- Misses 123 124 +1
Continue to review full report at Codecov.
|
I might need to lengthen the timeout on model generator tests, but I haven't had any issues thus far.