Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve property validation in web-js #473

Open
2 tasks
corbadoman opened this issue Oct 26, 2024 · 0 comments
Open
2 tasks

Improve property validation in web-js #473

corbadoman opened this issue Oct 26, 2024 · 0 comments
Assignees
Labels
dx Developer Experience

Comments

@corbadoman
Copy link
Contributor

corbadoman commented Oct 26, 2024

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')"
@corbadoman corbadoman added the dx Developer Experience label Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dx Developer Experience
Projects
None yet
Development

No branches or pull requests

2 participants