Skip to content

Have Joi as a Peer Dependency #2

Description

@IGassmann

Bug Report

Current behavior

If a project consuming this package installs Joi, it will throw

Error: Invalid schema content: (ENV_VAR.$_root.alternatives)

Expected behavior

It shouldn't throw the error.

Possible Solution

Have Joi as peer dependency would probably fix the problem. I suspect this due to incompatible Joi versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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