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

fix: set an overridden apiVersion on a created connection #274

Merged
merged 1 commit into from
Mar 23, 2021

Conversation

shetzel
Copy link
Contributor

@shetzel shetzel commented Mar 23, 2021

What does this PR do?

A connection that is created from a username should use the apiVersion passed rather than the default. Consumers of the API can then pass a username and an apiVersion and the created connection will have the apiVersion set for them.

This is currently possible if the consumer creates the Connection themselves and sets the apiVersion but that approach has potential problems with the version of @salesforce/core Connection in use by the consumer.

What issues does this PR fix or reference?

@W-8942811@

Functionality Before

Setting apiVersion on the ComponentSet would not apply to the created Connection.

Functionality After

Setting apiVersion on the ComponentSet now applies to the created Connection.

a connection that is created from a username should use the apiVersion passed rather than the
default
@shetzel shetzel requested a review from a team as a code owner March 23, 2021 18:52
@shetzel shetzel merged commit b6f7896 into develop Mar 23, 2021
@shetzel shetzel deleted the sh/set-apiversion branch March 23, 2021 20:59
sfsholden pushed a commit that referenced this pull request Mar 30, 2021
a connection that is created from a username should use the apiVersion passed rather than the
default
sfsholden pushed a commit that referenced this pull request Mar 30, 2021
a connection that is created from a username should use the apiVersion passed rather than the
default
sfsholden pushed a commit that referenced this pull request May 6, 2021
a connection that is created from a username should use the apiVersion passed rather than the
default
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.

3 participants