Skip to content

Config data validation and coercion using Yup #53

Description

@monarchwadia

Currently, we are not running any validation on the data received from configs except simple presence/absence of the value. See screenshot.

image

We are also simply converting the data from string to number in a few places. See screenshot.

image

Instead of these methods, use Yup to validate and convert data in the configProvider.

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