Skip to content

Re-check all form types inherited options #20104

@javiereguiluz

Description

@javiereguiluz

Some form types extend other parent types (e.g. CountryType and EnumType extend ChoiceType). In the docs of the child classes, we display all options defined by them and all options defined by their parent types.

However, we handle this manually, so we miss options from time to time (this is a recurrent problem; see #2360).

So, we have two options:

  • Re-check all options again and fix errors manually
  • Re-think how we solve this

About rethinking:

  • We could just list the names of all the inherited options and link to the parent descriptions, instead of embedding all the descriptions in all child constrains
  • We could add some PHP logic in the docs-builder tool used to build docs to fix this somehow

Thoughts?

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