gitbeaker icon indicating copy to clipboard operation
gitbeaker copied to clipboard

Usage with revalidate option in NextJS

Open aphecetche opened this issue 6 months ago • 1 comments

In order to use the ISR feature of NextJS my understanding is that a specific option { next: { revalidate: xxx } } should be passed to the fetch calls.

Is there an easy way to use such an option with gitbeaker ? Or should a custom requester be made for that ? (in which case, are there "simple" examples somewhere ?)

Thanks,

aphecetche avatar Jul 02 '25 12:07 aphecetche

At the moment, there isnt an easy way to pass custom headers. Ill see if i can whip up a PoC at some point to handle that

jdalrymple avatar Aug 07 '25 00:08 jdalrymple