Skip to content

Add custom validation pattern to the docs #26

@gaperton

Description

@gaperton

The pattern is to override component.linkAll().

  • Call linkAll of the base class to produce the relevant links.
  • Add custom validation checks.
  • If needed, compute the validationError and add it to the cache object.
  • return cache object.

It's damn cool pattern which deserves to be reflected in tutorials.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions