ArchGPT / insomnium

Insomnium is a fast local API testing tool that is privacy-focused and 100% local. For testing GraphQL, REST, WebSockets and gRPC. This is a fork of Kong/insomnia
MIT License
3.33k stars 125 forks source link

Force write proto file on upload of file with different content #58

Closed Perryvw closed 9 months ago

Perryvw commented 9 months ago

Ran into an issue where the proto files in the temp directory were not being updated because they already existed. I somehow managed to get an invalid proto file in there, and then could not re-upload it because of the existsSync check.

To remedy this, I made the update modal force an update of the temp proto files when the proto file list is updated.

I also ran into an issue where the upload modal was not correctly resolving dependency proto files while validating the validity of the proto file. I added the required include dirs to fix that too.

archywillhe commented 9 months ago

looking nice! thanks!!

archywillhe commented 9 months ago

really good find&fix; appreciate it ❤️