Skip to content

Conversation

jckras
Copy link
Member

@jckras jckras commented Oct 28, 2024

For context: The return type of the TabularDataBySQL/MQL proto has changed to return both a list of structs, the existing return type, and also a list of bytearrays that represent BSON.

I added a required dependency to mongodb so we can use BSON. the BSON library has a deserialize() function that lets us convert BSON-encoded data (the list of lists of bytes) into a typescript list of dictionaries.
now date fields will be returned as Date objects
I added date objects to the data testing data to ensure we were returning date objects and not strings

@jckras jckras reopened this Oct 29, 2024
@jckras jckras changed the title RSDK-9147: Change Typescript TabularDataBySQL/MQL return type to raw BSON typescript draft Oct 29, 2024
@jckras jckras closed this Nov 1, 2024
@jckras jckras deleted the tabularQL branch November 1, 2024 15:13
Copy link

atlassian bot commented Sep 22, 2025

🔗 Link your GitHub account to Atlassian

To enable Code Reviewer, please link your GitHub account to your Atlassian account.

Click here to connect your accounts

This is a one-time setup that takes less than a minute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant