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

Return error object instead of state in range #122

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

laucheukhim
Copy link
Contributor

In #22, if a range contains error, the entire state of a cell is returned instead of an error object. This causes error handling in formula.js to fail because it can only handle actual error objects rather than cell states.

Instead of preserving state in case of error in a range, it should return the corresponding errors to keep everything working.

I have fixed this and added a test case for this.

@fabiooshiro
Copy link
Owner

Hi @laucheukhim ,

thank you!

@fabiooshiro fabiooshiro merged commit d425a55 into fabiooshiro:main Aug 16, 2024
@fabiooshiro
Copy link
Owner

v0.9.2 released

@laucheukhim laucheukhim deleted the fix/error-in-range branch August 16, 2024 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants