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

Environment variable for API versioning in Shopware #19

Closed
leichteckig opened this issue Apr 17, 2020 · 0 comments · Fixed by #20
Closed

Environment variable for API versioning in Shopware #19

leichteckig opened this issue Apr 17, 2020 · 0 comments · Fixed by #20
Assignees

Comments

@leichteckig
Copy link
Contributor

In #18 the need for an environment variable for Shopware's API versions came up, see quote:

Personally I'm not a big fan of changing the API version this many times. We can't ensure the project which uses this package supports the hardcoded API version. As a proposal to solve the problem we should come up with an environment / config variable which contains the API version the test platform should use.

This way the project which uses this package can define the version they would like to use instead of constantly bumping up the API version in the URLs itself.

See:

* https://docs.cypress.io/guides/guides/environment-variables.html#Setting
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 a pull request may close this issue.

1 participant