Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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: CNS-962-user-spec-implementation #1505
base: main
Are you sure you want to change the base?
feat: CNS-962-user-spec-implementation #1505
Changes from 6 commits
1ad1f44
1579241
58829d2
483cae8
5b718b0
7779667
bc9ddd5
201d125
dd85e14
01c19f6
2a428a2
09c2d5f
ad77459
0408d11
c5d1cd1
b6d7ac6
803020a
f9c5426
6925623
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
This file was deleted.
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.
Consider adding more detailed error messages or handling for the
chargeCuToSubscriptionAndCreditProvider
function.This function now includes a
userSpec
boolean which affects the charging logic. However, the error messages could be more descriptive to help in debugging, especially sinceuserSpec
influences the flow. Consider enhancing the error handling to provide more context about the failure, particularly howuserSpec
impacts the outcome.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.
Ensure the new parameter
userSpec
is correctly documented and tested.The addition of the
userSpec
parameter to theAddTrackedCu
method modifies how CU tracking is handled. It would be beneficial to update the method's documentation to reflect this change and to ensure that unit tests cover scenarios whereuserSpec
is both true and false. Would you like assistance in updating the documentation or creating the necessary tests?