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

Return ResolvedKeystoneConfig instead of KeystoneConfig #9189

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

gautamsi
Copy link
Member

  • renamed __ResolvedKeystoneConfig to ResolvedKeystoneConfig;
  • Return default config from config function so that any config wrapper can make use of defaults.
  • config() now returns ResolvedKeystoneConfig instead of KeystoneConfig
  • withAuth input now needs ResolvedKeystoneConfig

Breaking changes due to type change, There is no migration needed in most cases instead of type casting in some case.

Changes only needed in advanced use case like manually running the dev/build process instead of cli

Copy link

codesandbox-ci bot commented Jun 29, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit a0740f4:

Sandbox Source
@keystone-6/sandbox Configuration

@gautamsi gautamsi mentioned this pull request Jun 30, 2024
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants