question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Rename this project

See original GitHub issue

The name has been read as meaning “provide the minimal amount of validation”. What should we rename it to? Put new suggestions in a comment by themselves and folks can vote with reactions.

Some things to keep in mind:

  • There are currently two packages. The basic package containing the static TryValidate method, and the .AspNetCore package containing the Validator<T> class, which has a static BindAsync method so that RequestDelegateFactory will bind to it. The first package is generally usable in all .NET projects where System.ComponentModel.DataAnnotations validation can be used so the name should be welcoming to that, while also providing a suitable prefix for the more workload-specific package(s).
  • The main call site in any project will be the call to ProjectName.TryValidate(), i.e. a static method on a static class. Right now the class is in the System.ComponentModel.DataAnnotations namespace, the same as the in-framework Validator type. Note that the fact the framework has a Validator type already is why this project doesn’t use that name 😞 .

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:29 (12 by maintainers)

github_iconTop GitHub Comments

5reactions
DamianEdwardscommented, Sep 20, 2021

Going with MiniValidation for now. Thanks folks!

5reactions
timheuercommented, Sep 20, 2021

ValKilmer…done…consider no other options Project/package name: ValKilmer Type name: ValKilmer E.g. use: ValKilmer.EnsureWingman(myObject, out var errors);

Read more comments on GitHub >

github_iconTop Results From Across the Web

Rename projects | PyCharm Documentation
In the dialog that opens, choose the rename strategy. If the project name is the same as the name of its root folder,...
Read more >
Is it possible to rename a project? - Google Developers Help
It is possible to work around this by copying the project (using "Save Project As..." under the File menu) and entering new display...
Read more >
Rename solution and related projects in a ASP.NET web ...
In Solution Explorer, right-click the project and select Properties. On the Application tab, change the "Assembly name" and "Default namespace".
Read more >
Rename project items—ArcGIS Pro | Documentation
Many project items can be renamed, including maps, layouts, geodatabases, toolboxes, and folder connections. Renaming an item in ArcGIS Pro may also rename...
Read more >
Rename a Project
A project name can be updated or changed at any time. Admin or read+write permissions are required. First, open your project or component....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found