About 8,780,000 results
Open links in new tab
  1. Why were `required` and `optional` removed in Protocol Buffers 3?

    I noticed that required and optional have been removed in the new syntax. Why were required / optional removed in proto3? Such keywords introduce constraints which should improve …

  2. .net - required vs [Required] in C# 11 - Stack Overflow

    Mar 30, 2023 · Agreed. [Required] is for data validation and in many cases work with ef, and required keyword is c# general.

  3. .net - EF Core model classes: Use C# 11 `required` modifier on all ...

    Jul 18, 2023 · The required modifier is used to explicitly indicate that non-nullable property should initialized when type instantiated. It is used for reference types mostly.

  4. How to use the "required" attribute with a "radio" input field

    1023 TL;DR: Set the required attribute for at least one input of the radio group. Setting required for all inputs is more clear, but not necessary (unless dynamically generating radio-buttons). …

  5. jsonschema - What is the difference between "required" vs …

    Jan 6, 2014 · Elements of this array MUST be strings, and MUST be unique. Conditions for successful validation: An object instance is valid against this keyword if its property set …

  6. Argparse: Required arguments listed under "optional arguments"?

    Note: Required options are generally considered bad form because users expect options to be optional, and thus they should be avoided when possible. That being said, the headers …

  7. Conditionally required property using data annotations

    If they check company a bunch of other fields become required. Such data model properties (related to those fields) would have this attribute on them [RequiredIf('IsCompany', true)] …

  8. html - textarea's "required" attribute doesn't work even though …

    Jul 2, 2024 · Incorrect. required attribute is a boolean value. If it exists, the textarea will be required to fill in. Therefore, the behavior of required is equal to required="required"

  9. Pip error: Microsoft Visual C++ 14.0 is required - Stack Overflow

    Thanks, David! I'll try it again as you have discribed. However, I don't know which Microsoft Visual C++ to download from the site in the url above - do I need Visual C++ 2015 or 2017 or do both …

  10. python - Missing 1 required positional argument - Stack Overflow

    Missing 1 required positional argument [duplicate] Asked 11 years, 4 months ago Modified 2 years, 3 months ago Viewed 264k times