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

typescript draft #397

Closed
wants to merge 3 commits into from
Closed

typescript draft #397

wants to merge 3 commits into from

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
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