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

feat: add external content download to octets:store directive #689

Merged
merged 3 commits into from
Jul 4, 2024

Conversation

temich
Copy link
Contributor

@temich temich commented Jul 4, 2024

Documentation, feature.

Discussed request limit is not implemented. #688

@temich temich added the Scope: Exposition HTTP API Gateway label Jul 4, 2024
@temich temich requested a review from tinovyatkin July 4, 2024 16:10
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 0% with 17 lines in your changes missing coverage. Please review.

Project coverage is 49.35%. Comparing base (a59a16f) to head (6ac72db).
Report is 167 commits behind head on dev.

Files Patch % Lines
...sions/exposition/source/directives/octets/Store.ts 0.00% 17 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #689      +/-   ##
==========================================
- Coverage   50.18%   49.35%   -0.84%     
==========================================
  Files         358      366       +8     
  Lines       11886    12543     +657     
  Branches     1276     1318      +42     
==========================================
+ Hits         5965     6190     +225     
- Misses       5921     6353     +432     
Flag Coverage Δ
unit 49.35% <0.00%> (-0.84%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Comment on lines 30 to 33
if (Array.isArray(value))
value = value.join(',')

for (const pair of value.split(',')) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

NIT: in case of array you first join the array to string just to split it on the next line.

Can we do the opposite?

if (typeof value === 'string')
  value = value.split(',')

for (const pair of value) {

@temich temich merged commit 697d6ff into dev Jul 4, 2024
2 checks passed
@temich temich deleted the feat/octets-download branch July 4, 2024 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Exposition HTTP API Gateway
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants