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

Removes deprecated types (and ListSchemaConfig) #8766

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

Conversation

dcousens
Copy link
Member

@dcousens dcousens commented Aug 14, 2023

This pull request removes the unused first type parameter from ListConfig, ListAdminUIConfig types, and from the list and group function types.

This should allow developers to now use list<Lists.Post> instead of list<any, Lists.Post>.

This pull request also removes the ListSchemaConfig type, use Config['lists']' from .keystone/types(orKeystoneConfig['lists']from@keystone-6/core/types`).

Lastly, this pullr equest renames Lists.*.TypeInfo.all to Lists.*.TypeInfo.SchemaTypeInfo, to verbosely show where any circular types might be appearing from. (suspect for #8749)

@dcousens dcousens requested a review from borisno2 August 14, 2023 01:10
@dcousens dcousens self-assigned this Aug 14, 2023
@codesandbox-ci
Copy link

codesandbox-ci bot commented Aug 14, 2023

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 2fdf468:

Sandbox Source
@keystone-6/sandbox Configuration

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

3 participants