Skip to content

Migration: @kubb/plugin-vue-query

Part of the v4 → v5 migration guide. For the full option reference, see @kubb/plugin-vue-query.

resolver.resolveName takes over from transformers.name. The client sub-object for HTTP client configuration stays the same, as do all other options.

Generated output

The generated output changes match React Query: the *MutationKey type alias is gone, TData narrows to 2xx responses, and enabled-guarded params become optional (Vue Query writes the guard as enabled: () => !!toValue(petId)). See Generated output: @kubb/plugin-react-query.