Skip to content
This repository was archived by the owner on Apr 11, 2026. It is now read-only.
This repository was archived by the owner on Apr 11, 2026. It is now read-only.

remove remaining state.allow_partial = false; #1523

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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