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

Add explicit versioning support to launch config #35

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

maddy-jo
Copy link

Add explicit versioning support to launch config

Allows specifying the service dependency via an @vN suffix, where N is a whole number representing the major version. This will generate the following mapping from launch.yml dependency to package import:

service-name@v2 -> github.com/Clever/service-name/gen-go/client/v2

This conforms to the convention used by WAG for generated clients with a major version greater than 1.

Also adds documentation to the README for pre-existing version considerations and the new potential feature.

Testing

  1. extended existing functional tests with new behavior, which was essentially manual testing during development
  2. unit tests for parsing the version

Also includes a copy of --help output in README
Allows specifying the service dependency via a "@vn" suffix, where N is a whole
number representing the major version. This will generate the following mapping
from launch.yml dependency to package import:

service-name@v2 -> github.com/Clever/service-name/gen-go/client/v2

This conforms to the convention used by WAG for generated clients with a major
version greater than 1.
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.

1 participant