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: implement -no-mixed-args #25

Merged
merged 3 commits into from
Dec 12, 2023
Merged

Conversation

n9v9
Copy link
Contributor

@n9v9 n9v9 commented Dec 10, 2023

Add the flag no-mixed-args which defaults to true to preserve backwards compatibility. Setting the flag to false allows attributes and key-values pairs in the same call.

Closes #23

Add the flag `no-mixed-args` which defaults to true to preserve
backwards compatibility. Setting the flag to false allows attributes and
key-values pairs in the same call.
Copy link

codecov bot commented Dec 12, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (217d45f) 88.67% compared to head (d521816) 88.73%.
Report is 2 commits behind head on main.

❗ Current head d521816 differs from pull request most recent head fcdf8a1. Consider uploading reports for the commit fcdf8a1 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #25      +/-   ##
==========================================
+ Coverage   88.67%   88.73%   +0.05%     
==========================================
  Files           1        1              
  Lines         212      213       +1     
==========================================
+ Hits          188      189       +1     
  Misses         19       19              
  Partials        5        5              

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

@tmzane tmzane self-requested a review December 12, 2023 18:43
@tmzane tmzane changed the title Allow mixing of attributes and key-value pairs feat: implement -no-mixed-args Dec 12, 2023
@tmzane tmzane merged commit ed5057e into go-simpler:main Dec 12, 2023
5 checks passed
@tmzane
Copy link
Member

tmzane commented Dec 12, 2023

Thanks!

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.

Allow mixing of key-value pairs and attributes
2 participants