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

docs: fix the signature of CacheHandler#revalidateTag #70286

Merged
merged 5 commits into from
Sep 20, 2024

Conversation

vicb
Copy link
Contributor

@vicb vicb commented Sep 20, 2024

docs: fix the signature of CacheHandler#revalidateTag

My tests shows that the tags could be an array.

I have traced it back to the code:

async revalidateTag(tags: string | string[]): Promise<void> {
return this.cacheHandler?.revalidateTag?.(tags)
}

@vicb vicb requested review from a team as code owners September 20, 2024 12:05
@vicb vicb requested review from jh3y and timeyoutakeit and removed request for a team September 20, 2024 12:05
@ijjk ijjk added the Documentation Related to Next.js' official documentation. label Sep 20, 2024
@ijjk
Copy link
Member

ijjk commented Sep 20, 2024

Allow CI Workflow Run

  • approve CI run for commit: 750699a

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

@ijjk ijjk changed the base branch from main to canary September 20, 2024 16:42
@ijjk ijjk enabled auto-merge (squash) September 20, 2024 16:48
@ijjk ijjk merged commit 948f1f1 into vercel:canary Sep 20, 2024
37 checks passed
@vicb vicb deleted the doc/cache-handler branch September 20, 2024 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Related to Next.js' official documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants