keystonejs / keystone

The superpowered headless CMS for Node.js — built with GraphQL and React
https://keystonejs.com
MIT License
9.18k stars 1.15k forks source link

Move defaults to `initConfig` #9027

Closed dcousens closed 7 months ago

dcousens commented 7 months ago

This is a work in progress, and will probably span many pull requests, but wherever possible, we want to move the defaults into initConfig. In the next major, initConfig will be removed in favour of this being internally managed only; allowing us to refine the internally used types to something stricter than KeystoneConfig.

codesandbox-ci[bot] commented 7 months ago

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 4860d3e07ef62878a9cc1face0e5436801e38df1:

Sandbox Source
@keystone-6/sandbox Configuration