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

Fetching null through proxy does not work #36

Open
karth295 opened this issue Feb 18, 2018 · 3 comments
Open

Fetching null through proxy does not work #36

karth295 opened this issue Feb 18, 2018 · 3 comments

Comments

@karth295
Copy link
Collaborator

In JS console, for example:

> sb['hello'] = null
null
> sb['hello']
client6.js:1 Uncaught TypeError: Cannot use 'in' operator to search for '_' in null
  at Object.get (https://stateb.us/client6.js:1:13039)
  at <anonymous>:1:3
@toomim
Copy link
Member

toomim commented Feb 19, 2018

Thank you!

@toomim
Copy link
Member

toomim commented Feb 24, 2018

What's the priority on this?

The proxy interface is in need of a total redesign and rewrite. I could wait to fix this until then, or I could fix it now. It's probably not too hard. Also I think you're using an old version of the proxy interface, but I checked and the new one has this bug too.

@karth295
Copy link
Collaborator Author

Low priority -- I've fixed this in the past but it cropped back up. I'm just fetching/saving undefined instead

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

No branches or pull requests

2 participants