Skip to content

feat(args): handle scw.Duration unmarshal as flat field #3469

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

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

Codelax
Copy link
Member

@Codelax Codelax commented Nov 3, 2023

scw.Duration was handled as two scalar fields

This would require a change of generator to have the durations as a flat field. Draft is available for it with # 321.

@Codelax Codelax self-assigned this Nov 3, 2023
@Codelax Codelax force-pushed the feat/unmarshal-duration branch from f1f9802 to 9b3745c Compare November 23, 2023 08:33
@codecov-commenter
Copy link

codecov-commenter commented Nov 23, 2023

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (b09ffbd) 75.71% compared to head (a511779) 75.70%.

Files Patch % Lines
internal/args/unmarshal.go 0.00% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3469      +/-   ##
==========================================
- Coverage   75.71%   75.70%   -0.02%     
==========================================
  Files         175      175              
  Lines       39183    39190       +7     
==========================================
  Hits        29669    29669              
- Misses       8437     8444       +7     
  Partials     1077     1077              

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

scw.Duration was handled as two scalar fields
@Codelax Codelax force-pushed the feat/unmarshal-duration branch from 9b3745c to a511779 Compare November 23, 2023 09:26
@Codelax Codelax marked this pull request as ready for review November 23, 2023 09:46
@remyleone remyleone added this pull request to the merge queue Nov 23, 2023
Merged via the queue into scaleway:master with commit 8b90883 Nov 23, 2023
Mia-Cross pushed a commit to Mia-Cross/scaleway-cli that referenced this pull request Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants