binaryage / chromex

Write Chrome Extensions in ClojureScript
Other
411 stars 21 forks source link

our default marshalling functions should silently propagate nil values #10

Closed darwin closed 6 years ago

darwin commented 6 years ago

For example from-native-chrome-port can be called as a wrapper of runtime/connect. This API fn might return null value in some edge cases when other party is not avail. Our code chokes on assert and the only workaround for user is to provide own marshalling functions as a replacement.