Skip to content

[NEW]: fetchOptions in TS SDK #200

@kostasb

Description

@kostasb

Priority

Low

Description

Document the fetchOptions parameter

How will this impact users?

From Next.js docs on Caching Data:
fetch requests that use the POST method are also automatically cached. Unless it's inside a Route Handler that uses the POST method, then it will not be cached.
Since queries use POST, it means results from Xata that are not performed from route.ts are actually cached.

Context

https://discord.com/channels/996791218879086662/1188892129259438091/1188892129259438091

Suggested resolution

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions