Skip to content

Validate entire message instead of parts of it #312

Closed
@mistermoe

Description

@mistermoe

permissions-request, protocols-configure, and protocols-query all validate like so:

Message.validateJsonSchema({ descriptor, authorization: { } });

we should consider constructing the entire message and then validating unless there's a reason not to. many other message classes already do this

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions