Skip to content

Improve property validation in web-js #473

@corbadoman

Description

@corbadoman

Why

To further improve developer experience we must validate properties/options for web-js.

TODOS

  • Validate initialBlock in Corbado.mountAuthUI() (for signup-init and login-init for example)
    • If invalid value is given throw an exception with a message like "Invalid initialBlock 'xxx' given (allowed values: 'a', 'b')"

Metadata

Metadata

Assignees

Labels

dxDeveloper Experience

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions