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

Make @ark/schema more resilient to duplicate installations or initializations #1088

Open
ssalbdivad opened this issue Aug 15, 2024 · 0 comments

Comments

@ssalbdivad
Copy link
Member

We've generally converted most symbols to string literals and instanceof BaseRoot to hasArkKind, but there are still many instanceof checks we rely on, namely ArkErrors and Disjoint, that would break across installations, even of the same version.

We should expand hasArkKind to handle these objects and convert as many remaining instanceOf checks to that as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant