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 validation of inputs #90

Open
NoxHarmonium opened this issue Aug 5, 2020 · 0 comments
Open

Improve validation of inputs #90

NoxHarmonium opened this issue Aug 5, 2020 · 0 comments
Labels
browser-extension Bugs to do with the browser extension enhancement New feature or request

Comments

@NoxHarmonium
Copy link
Contributor

I have added some // type-coverage:ignore-next-line comments in places where there is a force cast from a raw type to a specific type. This is OK at the moment since the inputs are known but is not very safe. We should probably use some sort of validation library like io-ts to avoid the force casting.

@NoxHarmonium NoxHarmonium added enhancement New feature or request browser-extension Bugs to do with the browser extension labels Aug 5, 2020
NoxHarmonium pushed a commit that referenced this issue Aug 5, 2020
- In these cases we know what the source data is so it is OK for now but in the future we should add
some proper validation

re #90
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser-extension Bugs to do with the browser extension enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant