tmdb-ts
tmdb-ts copied to clipboard
Option to override `fetch`
Is your feature request related to a problem? Please describe. When using NextJS we use a patched fetch that enables automatic caching in NextJS. When using a library like cross-fetch, you opt-out of this behaviour.
Describe the solution you'd like Option to pass a fetch method to the TMDB constructor. Basically what graphql-request also offers:.
Describe alternatives you've considered Remove cross-fetch dependency as it shouldn't be needed anymore in Node.
Good call. What I'll do is bump the minor version with the removal of cross fetch and then make the min node version >18.0.0