-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Labels
type:featureNew feature or improvement of existing featureNew feature or improvement of existing feature
Description
New Feature / Enhancement Checklist
- Report security issues confidentially.
- Any contribution is under this license.
- Before posting search existing issues.
Current Limitation
It's currently not possible to change the JS SDK that ships with each Parse Server release.
Feature / Enhancement Description
Add a ParseSDK configuration to change the global Parse within the server here.
const Parse = require('../../node');
await ParseServer.startApp({
...
parseSDK: Parse
});
Parse.Cloud.define('Override', () => {
const object = new Parse.Object('test'); // Should use parseSDK instead of builtin SDK
});
Example Use Case
You can use the latest JS SDK without waiting for a new release. It would work if you need to use your own custom fork of the SDK. This is useful in the JS SDK test suite as changes made can be used in cloud code functions immediately. Could be used for #8787
Alternatives / Workarounds
3rd Party References
Metadata
Metadata
Assignees
Labels
type:featureNew feature or improvement of existing featureNew feature or improvement of existing feature