Skip to content

Commit

Permalink
Deprecate KeystoneContext.keystone (#4944)
Browse files Browse the repository at this point in the history
  • Loading branch information
timleslie authored Feb 25, 2021
1 parent 6c949db commit bea9008
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/sharp-news-speak.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@keystone-next/types': minor
---

Deprecated `KeystoneContext.keystone`.
1 change: 1 addition & 0 deletions packages-next/types/src/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export type KeystoneContext = {
gqlNames: (listKey: string) => Record<string, string>; // TODO: actual keys
/** @deprecated */
executeGraphQL: any; // TODO: type this
/** @deprecated */
keystone: BaseKeystone;
} & AccessControlContext &
Partial<SessionContext<any>> &
Expand Down

1 comment on commit bea9008

@vercel
Copy link

@vercel vercel bot commented on bea9008 Feb 25, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.