acrosman / Salesforce2Sql

Electron app to convert a Salesforce org's schema into a similarly shaped database.
MIT License
14 stars 8 forks source link

Switch to JSForce 2.0 #196

Closed acrosman closed 1 year ago

acrosman commented 1 year ago

Summary Switch to JSForce 2.0 and perform any needed updates.

Please describe the problem you are trying to solve. Staying current for security releases and other enhancements.

Proposed Solution All current development effort of JSForce, the library used for all calls to Salesforce, is on the 2.0 branch. It's good enough for SFDX it should be good enough for this project. Not sure all the changes needed between 1.x and 2.0, but it's probably time.

Calls needing promise conversion

acrosman commented 1 year ago

Appears this requires updating all callbacks to promises. A good call overall, but a bit of work across the code base.