Skip to content

Wrong data returns on data from createServerQuery #57

Open
@SashaGoncharov19

Description

@SashaGoncharov19

I'm using bun with sveltekit (svelte 5) and trpc-svelte.
I also want to include this adapter to use tanstack query for svelte.

Main problem is when I'm trying to access data
image
I'm actually getting this
image
So data is object which contains json value and this value contains my returned data.

I have uploaded my code so you can familiarise yourself with it:: https://github.com/SashaGoncharov19/database-manager

quick links:
+page.ts: https://github.com/SashaGoncharov19/database-manager/blob/master/src/routes/%2Bpage.ts
+page.svelte: https://github.com/SashaGoncharov19/database-manager/blob/master/src/routes/%2Bpage.svelte
near we have layout files which includes client provider from tanstack

trpc folder: https://github.com/SashaGoncharov19/database-manager/tree/master/src/lib/trpc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions