New Feature / Enhancement Checklist
Current Limitation
Parse Server currently depends on the Parse JS SDK. This is because the Parse JS SDK is leading a double life - as a Parse client SDK and as a internal module of Parse Server that is uses for various features. This creates the following issues:
- Difficult development; its adds a circular dependency where changes in the server requires changes in the SDK and vice versa.
- Bloated client SDK; it contains code that is unnecessary outside of the Cloud Code environment.
Feature / Enhancement Description
Remove Parse Server's dependency on the Parse JS SDK. It should only be needed:
- As a
dependency alongside Parse Server if a developer wants to use the Cloud Code feature. In that case the developer needs to add the Parse JS SDK as a dependency themselves.
- As a
devDependency for the Parse Server tests of Cloud Code.
All elements of the Parse JS SDK that are currently in use in Parse Server should be moved to the Parse.Cloud namespace.
Future Enhancement
We could attempt a BYOSDK (Bring Your Own SDK) approach. If Parse Server allows to pass a SDK instance at start-up, then the developer is free to use any Parse JS SDK, as long as it's version compatible.
New Feature / Enhancement Checklist
Current Limitation
Parse Server currently depends on the Parse JS SDK. This is because the Parse JS SDK is leading a double life - as a Parse client SDK and as a internal module of Parse Server that is uses for various features. This creates the following issues:
Feature / Enhancement Description
Remove Parse Server's dependency on the Parse JS SDK. It should only be needed:
dependencyalongside Parse Server if a developer wants to use the Cloud Code feature. In that case the developer needs to add the Parse JS SDK as a dependency themselves.devDependencyfor the Parse Server tests of Cloud Code.All elements of the Parse JS SDK that are currently in use in Parse Server should be moved to the
Parse.Cloudnamespace.Future Enhancement
We could attempt a BYOSDK (Bring Your Own SDK) approach. If Parse Server allows to pass a SDK instance at start-up, then the developer is free to use any Parse JS SDK, as long as it's version compatible.