gitbeaker
gitbeaker copied to clipboard
Usage with revalidate option in NextJS
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,
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