Skip to content

remove remaining state.allow_partial = false; #1523

Open
@samuelcolvin

Description

@samuelcolvin

As per #1512, the following validators disable partial support:

  • DataclassArgsValidator
  • ModelFieldsValidator
  • TupleValidator
  • ArgumentsValidator
  • GeneratorValidator
  • DefinitionRefValidator - maybe this is as simple as removing the line, but I don't want to think about it right now

We should remove state.allow_partial = false; and instead set it on all but the last last element/value during validation, as we do for other collections already.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions