Skip to content

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.

2 participants