You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we keep both the string and enums then this just results in code bloat, i.e., a lot of redundancy . We could switch to a pure enum based IPC interface but I would give this a low priority.
I used IPC routes in the Swate view, which were renamed some time ago, without adapting the calls in the SwateView.
ARCitect/packages/renderer/src/views/SwateView.vue
Lines 90 to 104 in 57fa8e2
cdeec89#diff-06a1adc8d17d7cee6fb88a8d3554ec88abb50f54b3350dbfc35c2b84eb1ab1c5L231-L234
This lead to issues for our users: nfdi4plants/Swate#518
I propose we use a typescript enum for all future ipc calls. This would give us more security in finding such errors.
Example:
The text was updated successfully, but these errors were encountered: