You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using warp10 to serialize data down from the server to the browser. Currently, warp10 will silently discard functions/methods on objects (this includes methods on the prototype chain). This leads to weird issues such as "Method not found" in the browser. In theory, in development we could check to see if this is happening and throw an error without incurring a runtime cost in production. Going this route would require introducing a build step for warp10 to support two different code paths (one for development and one for production). Possibly introduce a checkForFunctions() at the following line: https://github.com/patrick-steele-idem/warp10/blob/75a390910a563c7b1a60057c8177b4b0d61a05a5/src/stringifyPrepare.js#L83
The text was updated successfully, but these errors were encountered:
We are using warp10 to serialize data down from the server to the browser. Currently,
warp10
will silently discard functions/methods on objects (this includes methods on the prototype chain). This leads to weird issues such as "Method not found" in the browser. In theory, in development we could check to see if this is happening and throw an error without incurring a runtime cost in production. Going this route would require introducing a build step forwarp10
to support two different code paths (one for development and one for production). Possibly introduce acheckForFunctions()
at the following line: https://github.com/patrick-steele-idem/warp10/blob/75a390910a563c7b1a60057c8177b4b0d61a05a5/src/stringifyPrepare.js#L83The text was updated successfully, but these errors were encountered: