mvbasic icon indicating copy to clipboard operation
mvbasic copied to clipboard

[BUG] Inconsistent RestFS API

Open pschellenbach opened this issue 5 years ago • 3 comments

The RESTFS API has two different response formats for the 'dir' API command. In extension.ts, the results from the 'dir' command are returned as an array in the 'Directories' property. In RestFS.ts, the results from the 'dir' command are returned as an array in the 'Files' property.

When implementing a RestFS endpoint, how is the server to determine which response format to return? Should it return both 'Directories' and 'Files' properties, with identical content?

Extension version 1.85 (CHANGELOG.md)

pschellenbach avatar Jul 02 '19 17:07 pschellenbach