Skip to content
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

deployRecentValidation #389

Merged
merged 6 commits into from
Apr 2, 2021
Merged

deployRecentValidation #389

merged 6 commits into from
Apr 2, 2021

Conversation

WillieRuemmele
Copy link
Member

@WillieRuemmele WillieRuemmele commented Mar 25, 2021

@WillieRuemmele WillieRuemmele changed the title Wr/rest deployRecentValidation Mar 25, 2021
* @param options.id = the deploy ID that's been validated already from a previous checkOnly deploy request
* @param options.rest = a boolean whether or not to use the REST API
*/
public async deployRecentValidation(options: recentValidationOptions): Promise<JsonCollection> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really know anything about this code base but it seems strange to me that this method would be inside connection.ts and the Connection class. Is this something all connections will need/use?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It belongs in JSForce but we aren't going to put it there until we move over to v2. These will be removed in the v2 of core that uses v2 of jsforce. @WillieRuemmele can you put comments on these methods you are adding saying that, and that it is just to add the rest option for existing soap operations in jsforce.

* @param options.id = the deploy ID that's been validated already from a previous checkOnly deploy request
* @param options.rest = a boolean whether or not to use the REST API
*/
public async deployRecentValidation(options: recentValidationOptions): Promise<JsonCollection> {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It belongs in JSForce but we aren't going to put it there until we move over to v2. These will be removed in the v2 of core that uses v2 of jsforce. @WillieRuemmele can you put comments on these methods you are adding saying that, and that it is just to add the rest option for existing soap operations in jsforce.

@shetzel shetzel dismissed peternhale’s stale review April 2, 2021 22:36

suggested changes were made

@shetzel shetzel merged commit 0849947 into main Apr 2, 2021
@shetzel shetzel deleted the wr/REST branch April 2, 2021 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants