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

Add support for string array request parameter to endpoint resolution #42

Merged
merged 8 commits into from
Aug 2, 2024

Conversation

DmitriyMusatkin
Copy link
Contributor

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@codecov-commenter
Copy link

codecov-commenter commented Jul 31, 2024

Codecov Report

Attention: Patch coverage is 70.23810% with 25 lines in your changes missing coverage. Please review.

Project coverage is 69.57%. Comparing base (20ea8a4) to head (06b933a).

Files Patch % Lines
source/endpoints_rule_engine.c 58.82% 14 Missing ⚠️
source/endpoints_ruleset.c 81.48% 5 Missing ⚠️
source/endpoints_types_impl.c 77.27% 5 Missing ⚠️
source/endpoints_standard_lib.c 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #42      +/-   ##
==========================================
+ Coverage   68.81%   69.57%   +0.76%     
==========================================
  Files          10       10              
  Lines        2751     2797      +46     
==========================================
+ Hits         1893     1946      +53     
+ Misses        858      851       -7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@DmitriyMusatkin DmitriyMusatkin merged commit ac3ac9d into main Aug 2, 2024
32 checks passed
@DmitriyMusatkin DmitriyMusatkin deleted the string_array branch August 2, 2024 16:11
Copy link
Contributor

@TingDaoK TingDaoK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmmm, sorry, was distracted after started, but two trivial comments.

include/aws/sdkutils/endpoints_rule_engine.h Show resolved Hide resolved
case AWS_ENDPOINTS_PARAMETER_STRING_ARRAY:
val->value = value->default_value;
val->value.is_ref = true;
break;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

two break

Suggested change
break;

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one has been merged, but i addressed it in #43

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.

4 participants