Skip to content

allow OR | XOR  #4

Description

@johnb8005

example

const schema = Joi.object()
.keys({
uuid: Joi.string().uuid(),
key: Joi.string(),
lang: Joi.string().optional(),
params: Joi.object().optional(),
})
.xor("uuid", "key");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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