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

fix: store directions in infinite query result structure #7258

Closed

Commits on Apr 10, 2024

  1. fix: store directions in infinite query result structure

    so that we can re-use the first one when a refetch happens and properly pass "backward" to it if necessary
    TkDodo committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    02ea71b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    15cb409 View commit details
    Browse the repository at this point in the history
  3. fix(types): make directions optional

    so that we don't break things like `initialData`
    TkDodo committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    59ac408 View commit details
    Browse the repository at this point in the history
  4. fix: don't rely on direction in a closure

    because this is only set for `fetchNextPage` / `fetchPreviousPage`, but not for refetches
    TkDodo committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    df2cd30 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c99852e View commit details
    Browse the repository at this point in the history
  6. chore: no idea why that fails now

    > @tanstack/eslint-plugin-query@5.28.11 build /tmp/8bb98984/packages/eslint-plugin-query> vite build "--exclude=integrations/**"file:///tmp/8bb98984/node_modules/.pnpm/vite@5.2.8_@types+node@18.19.3/node_modules/vite/dist/node/cli.js:442          throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);
    TkDodo committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    a1d45f1 View commit details
    Browse the repository at this point in the history
  7. chore: fix test

    TkDodo committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    07be393 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2024

  1. chore: fix tests assertions

    TkDodo committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    944d615 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eb1fc78 View commit details
    Browse the repository at this point in the history
  3. chore: fix vue test assertions

    TkDodo committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    347b830 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a4c6a39 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7ad7793 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b331709 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2024

  1. Configuration menu
    Copy the full SHA
    864fd24 View commit details
    Browse the repository at this point in the history