Skip to content

Conversation

@henriquemoody
Copy link
Member

This is a pattern that we already use everywhere, so it makes sense to simply turn v into a class alias to Validator, which will allow people to use all the examples in the documentation without needing to import the namespace.

We already do that when we run tests, so I just changed it to be a global setting.

@codecov
Copy link

codecov bot commented Dec 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.49%. Comparing base (94ddfcd) to head (7636944).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #1571   +/-   ##
=========================================
  Coverage     97.49%   97.49%           
  Complexity      988      988           
=========================================
  Files           205      205           
  Lines          2237     2237           
=========================================
  Hits           2181     2181           
  Misses           56       56           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This is a pattern that we already use everywhere, so it makes sense to
simply turn `v` into a class alias to `Validator`, which will allow
people to use all the examples in the documentation without needing to
import the namespace.

We already do that when we run tests, so I just changed it to be a
global setting.
@henriquemoody henriquemoody merged commit 7636944 into Respect:main Dec 27, 2025
5 checks passed
@henriquemoody henriquemoody deleted the core/v_alias branch December 27, 2025 14:52
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