Data binding issue - items previously in server connect, not removed from available items

Wappler Version : 4.0.4
Operating System : mac
Server Model:
Database Type:
Hosting Type:

Expected behavior

If a query is deleted in a server connect, the output of that query should not be available in the data bindings.

Actual behavior

The array remains in the list

How to reproduce

Add an array to a server connect, and confirm it is in the list of available data bindings.

In this case, we’ll deal with “sample_list”. Here it is shown along with other queries in the server connect:

Now I delete the query, but leave “prices” and “features”:

But “sample_list” remains even after a complete restart of Wappler:

I’m assuming it is because the following remains in the api file:

{
            "name": "sample_list",
            "type": "array",
            "sub": [
              {
                "name": "feature_text",
                "type": "text"
              }
            ]
          }