Skip to content

Can't use @pinia/colada plugin with @hey-api/client-nuxt #2619

@RihanArfan

Description

@RihanArfan

Description

When using the Nuxt client, then trying to use the @pinia/colada plugin, the generated Pinia queries doesn't use the ofetch/Nuxt client SDK syntax.

Here it's destructuring data from getV1Items but the ofetch client returns data directly
Image

Reproducible example or configuration

https://github.com/RihanArfan/hey-api-nuxt-pinia-repro
pnpm i
pnpm dev

OpenAPI specification (optional)

https://raw.githubusercontent.com/sysadminsmedia/homebox/refs/heads/main/backend/app/api/static/docs/swagger.json

System information (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🔥Something isn't workingclientClient package related

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions