Update DeepHavenJsApiLinker to allow exporting GWT JsTypes as ES6 module#2733
Conversation
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
…es' into export-gwt-js-types-as-es6-modules # Conflicts: # web/client-api/src/main/java/io/deephaven/web/DeephavenJsApiLinker.java
mofojed
left a comment
There was a problem hiding this comment.
Going to create tickets for some additional things, such as publishing these as a package in npmjs (e.g. @deephaven/jsapi and/or @deephaven/jsapi-internal).
Whitespacing is inconsistent in many of the new lines in these examples.
|
Spoke with @niloc132 about this, and the change looks good as a halfway point, however it makes consuming the library more difficult. Ultimately suggest we keep this as a fork or a separate branch until we have the full thing exported as a module (dh-internal as well) and published to npmjs. The reason why this is difficult is because the Web UI still needs to load it remotely from the server. Currently, it's just doing a regular That shim only works if Once dh-internal is also a module, and they're both published to npmjs, theoretically should be able to change jsapi-shim to just: And everything should work. (We could also just change all our imports from So, I approve these changes, but please don't merge them to main, and keep a separate long running branch for this development :). |
|
Labels indicate documentation is required. Issues for documentation have been opened: How-to: https://github.com/deephaven/deephaven.io/issues/2180 |
No description provided.