Skip to content

useAsyncQuery. Options don't work if 'watch' isn't passed in #667

Description

@try2beth3b3st

Environment

  • Operating System: Darwin
  • Node Version: v24.11.1
  • Nuxt Version: 4.2.1
  • CLI Version: 3.30.0
  • Nitro Version: 2.12.9
  • Package Manager: pnpm@9.13.0
  • Builder: -
  • User Config: ssr, compatibilityDate, future, devtools, css, debug, vite, build, modules, multiCache, apollo, viewport, app, eslint, stylelint, svgo, hooks
  • Runtime Modules: nuxt-viewport@2.3.1, nuxt-svgo@4.2.6, @pinia/nuxt@0.11.3, @nuxt/eslint@1.11.0, @nuxtjs/stylelint-module@5.2.1, @nuxtjs/apollo@5.0.0-alpha.15, @nuxtjs/fontaine@0.5.0, nuxt-multi-cache@4.0.3, @nuxt/test-utils/module@3.20.1, @regle/nuxt@1.11.0
  • Build Modules: -

Describe the bug

Bug in commit: 5ae7d10#diff-f4bf0419803f10defada4eeb9eb46a4e31817731b1a50d7cb160439ff85117f3R142

Options in useAsyncData don't work, if 'watch' isn't passed in. Need remove checking: && 'watch' in args[1]

Expected behaviour

Options should work without 'watch'! It shouldn't be a requirement.

Reproduction

No response

Additional context

No response

Logs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions