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

Fix: required as default, and not required #7

Merged
merged 2 commits into from
Jul 18, 2024
Merged

Conversation

syntaqx
Copy link
Owner

@syntaqx syntaqx commented Jul 18, 2024

Fixes a bug where the default=required made the required tagOption trigger.

Copy link

codecov bot commented Jul 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (07ee89d) to head (25c3138).

Additional details and impacted files
@@            Coverage Diff            @@
##              main        #7   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            4         4           
  Lines          247       264   +17     
=========================================
+ Hits           247       264   +17     

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

@syntaqx syntaqx merged commit 498b47e into main Jul 18, 2024
5 checks passed
@syntaqx syntaqx deleted the required-shenanigans branch July 18, 2024 05:05
@ccoVeille
Copy link

It's good to add these in tests. It will avoid regression

@syntaqx
Copy link
Owner Author

syntaqx commented Jul 18, 2024

It's good to add these in tests. It will avoid regression

They're there https://github.com/syntaqx/env/pull/7/files#diff-6275b4f341447f9fa5879e462d30c7bd97c480f04f25c0b5bc47846086495a29R403-R468

@ccoVeille
Copy link

I should have been clearer.

I was saying that you added (I saw them) the tests to cover all this.

So I was thanking you. Not asking you if you added tests

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.

2 participants