Skip to content

fix: incorrect type plugin option validation#46

Merged
cloudinary-raae merged 1 commit into
cloudinary-community:mainfrom
raae:fix/39/type-problem
Sep 27, 2022
Merged

fix: incorrect type plugin option validation#46
cloudinary-raae merged 1 commit into
cloudinary-community:mainfrom
raae:fix/39/type-problem

Conversation

@raae

@raae raae commented Sep 27, 2022

Copy link
Copy Markdown
Collaborator

type was documented with "all" as the default value. This is the correct mental model as an empty type will result in fetching all types, but setting it to the string "all" will result it an error.

fixes #39

@cloudinary-raae cloudinary-raae merged commit 47d113a into cloudinary-community:main Sep 27, 2022
github-actions Bot pushed a commit that referenced this pull request Sep 27, 2022
# [0.3.0](v0.2.0...v0.3.0) (2022-09-27)

### Bug Fixes

* incorrect plugin option (type) validation ([#46](#46)) ([47d113a](47d113a)), closes [#39](#39)

### Features

* validation of plugin options ([#45](#45)) ([5ca373b](5ca373b)), closes [#39](#39)
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 0.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

Validate configured options using pluginOptionsSchema

2 participants