Closed
Description
Enables direct access to parse-server, when using the JS SDK from the current node runtime.
All API calls from the JS-SDK are router through route matching (but /functions/:functionName)
Enable that feature by setting PARSE_SERVER_ENABLE_EXPERIMENTAL_DIRECT_ACCESS=1
So if I understand this correctly:
client -> request to Cloud Code Function (Server) -> calling object.save() in Cloud Code -> send http request to Server.
Enabling this feature
client -> request to Cloud Code Function (Server) -> calling object.save() in Cloud Code -> no additional request sent because both JS SDK and Server are on the same node runtime
Enabling this feature would make requests faster since there is one less request, should this be mainstreamed?
Should there be tests run against this?
Add to parse-server config definitions?
We should add documentation to make more users aware of this feature