-
Notifications
You must be signed in to change notification settings - Fork 35
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
Remove pointer map used to get AuthProperties #87
Remove pointer map used to get AuthProperties #87
Conversation
Fixes serverlessworkflow#86 Signed-off-by: Calvin McLean <calvinlmc@gmail.com>
f57d7bf
to
f6b051e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, you was fast, thanks for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!! Just let a small comment enhance the test case; other than that seems pretty good. Many thanks for your contribution.
Codecov Report
@@ Coverage Diff @@
## main #87 +/- ##
=======================================
Coverage ? 16.52%
=======================================
Files ? 14
Lines ? 575
Branches ? 0
=======================================
Hits ? 95
Misses ? 460
Partials ? 20
Flags with carried forward coverage won't be shown. Click here to find out more. 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Signed-off-by: Calvin McLean <calvinlmc@gmail.com>
bb66cfd
to
c481df1
Compare
@ricardozanini would it be possible to get a new release version with this change? |
@calvinmclean we are currently implementing version 0.8 of the spec, so it's not a good moment for a release right now. Due to the nature of Go, can't you use the commit ID in go.mod instead? |
What this PR does / why we need it:
Fixes #86
See issue for more details, but basically the pointer map used to get
AuthProperties
based onScheme
caused all parsed Workflows to reference the same property which does not allow unique tokens.Special notes for reviewers:
Additional information (if needed):