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(javascript): prevent conflict with version variable #141

Merged
merged 1 commit into from
Feb 17, 2022

Conversation

shortcuts
Copy link
Member

🧭 What and Why

🎟 JIRA Ticket: -

The version variable can conflict with API method parameters, see #140 for an example

Changes included:

Rename exported version to apiClientVersion.

🧪 Test

CI :D

@shortcuts shortcuts requested review from a team and damcou and removed request for a team February 17, 2022 09:40
Copy link
Contributor

@bodinsamuel bodinsamuel left a comment

Choose a reason for hiding this comment

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

gfm

packageVersion/internalVersion/_version could have worked too

@shortcuts
Copy link
Member Author

packageVersion/internalVersion/_version could have worked too

Actually exposing the version is only good for testing, I'm not sure if there is other use cases, but I'll keep this one exported for now and inline it later if unused

@shortcuts shortcuts merged commit bd13ce7 into main Feb 17, 2022
@shortcuts shortcuts deleted the fix/javascript-exported-version branch February 17, 2022 09:59
@bodinsamuel
Copy link
Contributor

this can be helpful for consumer for whatever purpose, I would keep it exposed

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.

None yet

2 participants