Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: readCache takes an object too #1281

Merged
merged 1 commit into from
May 12, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@ export interface PostGraphileOptions<
replaceAllPlugins?: Array<Plugin>;
// An array of [Graphile Engine](/graphile-build/plugins/) schema plugins to skip.
skipPlugins?: Array<Plugin>;
// A file path string. Reads cached values from local cache file to improve
// startup time (you may want to do this in production).
readCache?: string;
// A file path string or an object. Reads cached values to improve startup time
// (you may want to do this in production).
readCache?: string | object;
// A file path string. Writes computed values to local cache file so startup
// can be faster (do this during the build phase).
writeCache?: string;
Expand Down