Design to Debug tab recreates all the queries every time
See original GitHub issueDescribe the bug In the Designer, when going from Design to Debug, with the file type Open API 2, the queries are regenerated every time. In the end I have a tons of duplicate queries that I don’t commit. Also I can’t edit them for fear that I will delete them when commiting.
To Reproduce
- Find an OpenAPI 2 file or OpenAPI 3 with errors.
- Remove all errors/warnings of the api file found by the parser if there are
- Go to the debug tab
- Wait a bit to see brand new queries
Notice the following in the console:
21:19:43.266 › [App] Forcing update from environment change (3) ["update", {…}, false] 21:19:43.300 › [App] Forcing update from environment change (3) ["update", {…}, false]
(nothing has been manually changed in the environment part)
Expected behavior If the folder for a query is there, it should not regenerate inside.
Desktop (please complete the following information):
- OS: Windows 10
- Installation Method: .Exe install
Version: Insomnia Designer 2020.4.2 Release date: 21/10/2020 OS: Windows_NT x64 10.0.19041 Electron: 9.1.1 Node: 12.14.1 V8: 8.3.110.13-electron.0 Architecture: x64 node-libcurl: libcurl/7.69.1-DEV OpenSSL/1.1.1d zlib/1.2.11 WinIDN libssh2/1.9.0_DEV nghttp2/1.40.0
Maybe a way to manually block the query creation?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:5 (2 by maintainers)
Top GitHub Comments
We can reproduce this with just a json file import.
Steps to Reproduce:
First Open
After switching views
It seems to constantly just import over and over.
This is related to https://github.com/Kong/insomnia/issues/4283 and #3453