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

allot() should not throw an error on a null field #5

Merged
merged 2 commits into from
Feb 4, 2025

Conversation

oceans404
Copy link
Member

Allow a field to have a null value - technically this is an Object in js, so I added a check for when document === null and tested on the FE data usecase

console.log(typeof null);
VM134:1 object

@lapets lapets merged commit e9d52da into NillionNetwork:main Feb 4, 2025
2 of 3 checks passed
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