We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi @andersevenrud Due to this comment, imagine we have capabilities method with no argument in client-sie: method call:
method call:
vfs.capabilities();
osjs-client/src/vfs.js
export const capabilities = (adapter, mount) => () => { const cached = capabilityCache[mount.name]; if (cached) { return Promise.resolve(cached); } return adapter.capabilities(mount) .then(capabilities => { capabilityCache[mount.name] = capabilities; return capabilities; }); };
osjs-client/src/adapters/vfs/system.js
capabilities: () => request('capabilities', {}, 'json').then(({body}) => { return body; }),
But server-side needs path argument to find the mountpoint here. I 've tried to solve it, but did not come up with solution!
The text was updated successfully, but these errors were encountered:
@andersevenrud sorry for re-mentioning
Sorry, something went wrong.
Closing because #804 superseeds this and there's already an ongoing discussion :)
andersevenrud
No branches or pull requests
Hi @andersevenrud
Due to this comment, imagine we have capabilities method with no argument in client-sie:
method call:
osjs-client/src/vfs.js
osjs-client/src/adapters/vfs/system.js
But server-side needs path argument to find the mountpoint here. I 've tried to solve it, but did not come up with solution!
The text was updated successfully, but these errors were encountered: