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

JS API exposes un-previewed tables to the UI in some cases, causing errors on subscribe #5708

Open
Tracked by #5927
niloc132 opened this issue Jul 2, 2024 · 0 comments
Assignees
Labels
bug Something isn't working jsapi

Comments

@niloc132
Copy link
Member

niloc132 commented Jul 2, 2024

#188 should make this irrelevant, by letting us apply preview as needed as part of creating the subscription.

dh.WidgetExportedObject.fetch() and dh.PartitionedTable.getTable() both will return promises of tables but not apply any previewing. If the UI attempts to subscribe to those columns, there will be an error, as the current JS barrage implementation cannot handle most types of arrays.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working jsapi
Projects
None yet
Development

No branches or pull requests

1 participant