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

Better runtime type error messages #79

Closed
dahlia opened this issue Jun 20, 2024 · 0 comments
Closed

Better runtime type error messages #79

dahlia opened this issue Jun 20, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@dahlia
Copy link
Owner

dahlia commented Jun 20, 2024

For now, Fedify depends on the strong assumption that everyone uses TypeScript and no values with wrong types are passed to the parameters. However, even for someone who uses TypeScript, sometimes values with wrong types can be passed to the parameters (due to any keyword or forced casting using as keyword). For such cases, we should provide better runtime type error messages.

@dahlia dahlia added the enhancement New feature or request label Jun 20, 2024
@dahlia dahlia self-assigned this Jun 20, 2024
@dahlia dahlia closed this as completed Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

1 participant