-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
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
feat: support sandbox instances of salesforce #6
base: master
Are you sure you want to change the base?
Conversation
@@ -1,60 +0,0 @@ | |||
import { Connection, OAuth2 } from "jsforce"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was split up into multiple files to make it easier to maintain in the future. Each file in the events
directory now represents a single lambda event handler.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually just realized: Can you update the Getting started docs?
Codecov Report
@@ Coverage Diff @@
## master #6 +/- ##
==========================================
- Coverage 50% 49.35% -0.65%
==========================================
Files 11 11
Lines 304 308 +4
Branches 44 46 +2
==========================================
Hits 152 152
- Misses 152 156 +4
Continue to review full report at Codecov.
|
is this going to get merged? |
Closes #3
Adds sandbox support by adding the ability to pass a
--sandbox
(or-s
, for short) flag to theglide init
command. When--sandbox
is passed to theinit
command, a boolean"sandbox": true
property is added to the resulting json file. This option instructs the authentication layer of glide to use the correct login url (https://test.salesforce.com).Users of glide will be able to generate an additional json config for their sandbox instance by running the init command with the additional
[path]
argument to specify the file name that best suits their projects naming conventions.To serve data from their sandbox instance rather than using the default production
glide.json
file, they can simply provide the filename as a positional argument to theserve
command.