next-drupal icon indicating copy to clipboard operation
next-drupal copied to clipboard

Issue 843: Revalidate node path alias instead of node/#

Open pookmish opened this issue 11 months ago • 3 comments

This pull request is for: (mark with an "x")

  • [ ] examples/*
  • [X ] modules/next
  • [ ] packages/next-drupal
  • [ ] starters/basic-starter
  • [ ] starters/graphql-starter
  • [ ] starters/pages-starter
  • [ ] Other

GitHub Issue: #843 Please add a link to the GitHub issue where this problem is discussed.

  • [ ] I need help adding tests. (mark with an "x") Code changes need test coverage. If you don't know how to make tests, check this box to ask for help.

Describe your changes

Refactor the parameter on the event to use the url object so that the path alias is revalidated on node insert.

If applicable, add screenshots to help explain your issue.

pookmish avatar Feb 27 '25 18:02 pookmish

@pookmish is attempting to deploy a commit to the Chapter Three Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Feb 27 '25 18:02 vercel[bot]

@pookmish I've confirmed that it works as expected. Looks great!

ksk1kd avatar Feb 28 '25 16:02 ksk1kd

This is most probably related: https://github.com/chapter-three/next-drupal/issues/460

yobottehg avatar Feb 28 '25 16:02 yobottehg