Skip to content

Spike: allow extensions to contribute custom validators and serializers/deserializers for REST layer #1463

Description

@bajtos

Timeboxed to 1.5 weeks

Verify whether the current LB4 design allows extensions to contribute custom validators and serializers/deserializers for REST layer (see #750 and #118). If it does, then document how to write such extensions and identify any pain points to fix. If it does not, then propose a solution including a list of follow-up stories to make it happen.

Update
Also see what can be overridden vs. extended by adding more (ex: overriding date validator vs. adding a validator for a new type (while keeping support for the existing validators)).

See also #1034, #1343 and #568

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

    ExtensionsRESTIssues related to @loopback/rest package and REST transport in generalValidationspikestale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions