-
Notifications
You must be signed in to change notification settings - Fork 383
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
Lazyloading properties with es6 proxy #149
Comments
Thanks for the fix, JSON.stringify works now, but still having problems with accessing nested properties which are proxies, v, err = rt.RunString(`
lazy.nested;
`)
fmt.Println(v, err) // %!v(PANIC=String method: TypeError: get needs to be called with target and receiver as Object and property as string) <nil> still fails with the same error, hopefully another quick fix |
This time it's a bit more complicated. It's to do with Symbol properties. By 'disabling' I mean |
Thanks mate, this is all fixed up for me. Appreciate the hard work creating and maintaining this. Im seeing the expected performance improvements from es6-proxy that I was hoping for |
Im having trouble getting lazyloading working with the new es6 proxy, encountering the
TypeError: get needs to be called with target and receiver as Object and property as string at stringify (native)
error.Below is a mini example showing the approach im taking. I have partial functionality, but cant get nested values to work.
The text was updated successfully, but these errors were encountered: