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

Tidy up Cloudinary package and add missing changeset #8836

Merged
merged 4 commits into from Sep 26, 2023
Merged

Conversation

dcousens
Copy link
Member

#8816 made a patch change to the @keystone-6/cloudinary package, but a .changeset/ entry was not added.

This pull request adds the missing entry and additionally inlines the cloudinary.ts adapter into the field, reducing the complexity of the package.

...config
}: CloudinaryImageFieldConfig<ListTypeInfo>): FieldTypeFunc<ListTypeInfo> =>
meta => {
// TODO: no delete support
Copy link
Member Author

Choose a reason for hiding this comment

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

This field implicitly preserves the images that are uploaded, as mentioned in #8816 (comment), we should align this field with the storage approaches we have elsewhere - or at least revisit that design

@dcousens dcousens changed the title Tidy up Cloudinary package and add missing changesert Tidy up Cloudinary package and add missing changeset Sep 26, 2023
@codesandbox-ci
Copy link

codesandbox-ci bot commented Sep 26, 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 f19e2c9:

Sandbox Source
@keystone-6/sandbox Configuration

@dcousens dcousens merged commit a216bc2 into main Sep 26, 2023
58 checks passed
@dcousens dcousens deleted the cloudinary-fixes branch September 26, 2023 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants