We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Calling toSerializable on a record omits linked columns.
Repro steps Reproduced with client 0.26.5:
0.26.5
const results = await xata.db.one.select(["*", "mylink.*"]).getAll(); for (const res of results) { const res_ser = res.toSerializable(); console.log(res); console.log(res_ser); }
Results:
// record: { "id": "rec_ck20o0j004smhor4oh9g", "mylink": { "id": "rec_ck20nusmtttmmmr6kgag", "linkedstring": "two", }, "mystring": "one", } // serialized record is missing mylink.linkedstring: { "id": "rec_ck20o0j004smhor4oh9g", "mylink": "rec_ck20nusmtttmmmr6kgag", "mystring": "one" }
The text was updated successfully, but these errors were encountered:
SferaDev
Successfully merging a pull request may close this issue.
Describe the bug
Calling toSerializable on a record omits linked columns.
Repro steps
Reproduced with client
0.26.5
:Results:
The text was updated successfully, but these errors were encountered: