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

In next version id is not properly added to data or typed #1490

Open
50BytesOfJohn opened this issue May 30, 2024 · 0 comments
Open

In next version id is not properly added to data or typed #1490

50BytesOfJohn opened this issue May 30, 2024 · 0 comments
Labels
bug Something isn't working needs-triage

Comments

@50BytesOfJohn
Copy link

Describe the bug

Hey, while using the next version of xata client I found out that after doing a select query, get first etc. returned data is typed in the way that id is available. But whenever I log the data or try to access id, it is not available.

To Reproduce

Just make a normal read query and check the result and type with next version of xata client.

Expected behavior

Either id is defined in result, or id is removed from the type. I personally think that leaving id field is good idea, as using xata_id or doing it manually seems like an issue for me.

Software version

"@xata.io/client": "0.0.0-next.v0b9131efdfa1340c28d4ce9bd73d6c4854e7c140",

Additional context

Nope

@50BytesOfJohn 50BytesOfJohn added the bug Something isn't working label May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage
Projects
None yet
Development

No branches or pull requests

1 participant