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

How to get the workflow version? #355

Closed
rullyalves opened this issue Jun 24, 2024 · 1 comment
Closed

How to get the workflow version? #355

rullyalves opened this issue Jun 24, 2024 · 1 comment
Labels
question Further information is requested

Comments

@rullyalves
Copy link

In the documentation it says that I can get the workflow version with:
workflow.Version, but I checked the package and this function is not available

documentation link:
https://cschleiden.github.io/go-workflows/#workflow-versioning

@cschleiden cschleiden added the question Further information is requested label Jun 24, 2024
@cschleiden
Copy link
Owner

cschleiden commented Jun 24, 2024

This is not supported:

Therefore for now versioning is not supported and the guidance is to rely on side-by-side deployments.

You pass in a version yourself as a parameter or you can use context propagation if you want this to be passed to sub-workflows etc.

@cschleiden cschleiden closed this as not planned Won't fix, can't repro, duplicate, stale Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants