node-red / nrlint

Node-RED Flow Linter
Apache License 2.0
36 stars 15 forks source link

'no-duplicate-http-in-urls' detects #31

Closed ba47-development closed 2 years ago

ba47-development commented 2 years ago

Current Behavior

detecting duplicates is a great function of nrLint.

But it is common use, that the same URL will be used multiple times with different methods, e.g. for GET, POST, PUT, DELETE, etc. nrLint detects these as duplicates, but in fact they are not.

Here, all calls are names "/demo", but with different methods: grafik

Expected Behavior

Methods must be taken into account as well to identify duplicates.

Steps To Reproduce

No response

Example flow

No response

Environment

No response

knolleary commented 2 years ago

Duplicate of #19 - the fix has been in the code for sometime, but it hasn't been released yet.

We will get a new version published once we have resolved #30

ba47-development commented 2 years ago

Yes, true, my beta was #1. Ok, cool, that it's fixed! :-)