-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat(sdk): introduce a Manifest
type
#60
Conversation
f23d50e
to
df8da5d
Compare
df8da5d
to
ea1196a
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.
Presuming that this works, the changes LGTM.
@@ -2,6 +2,8 @@ | |||
|
|||
## To Be Released | |||
|
|||
* feat(sdk): introduce a `Manifest` type |
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.
Would it make sense add a note here, highlighting that this would require a major version bump?
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.
I will handle the major version now, so I don't think it's required. I will remember to do it :)
|
||
manifest = `{"Implements": ["` + AuthZApiImplements + `"]}` |
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.
+1 for getting rid of this.
Yes they have been tested in https://github.com/Scalingo/swan-agent/pull/293/commits/bce7b817405d8a21949195a6d4e01892be15dd25 |
Currently we need to pass a string and I find this ugly. For example:
This is too error-prone in my opinion.
Introduction of this PR would lead to a new major version (v2). This lib is only used in SAND and SWAN. If we don't upgrade to v2 in SAND, then there is no impact there. And we just need to use this version in SWAN.
Related to STORY-270