Skip to content

fix: adjust validation of createMediaItem mutation#2840

Merged
jasonbahl merged 10 commits into
wp-graphql:developfrom
jasonbahl:fix/tighten-up-create-media-item-mutation
Jun 29, 2023
Merged

fix: adjust validation of createMediaItem mutation#2840
jasonbahl merged 10 commits into
wp-graphql:developfrom
jasonbahl:fix/tighten-up-create-media-item-mutation

Conversation

@jasonbahl

Copy link
Copy Markdown
Collaborator

What does this implement/fix? Explain your changes.

This adds additional validation to the createMediaItem mutation to prevent invalid input to the filePath argument.

@jasonbahl jasonbahl self-assigned this Jun 29, 2023
Comment thread src/Mutation/MediaItemCreate.php Outdated
@coveralls

coveralls commented Jun 29, 2023

Copy link
Copy Markdown

Coverage Status

coverage: 85.064% (+0.003%) from 85.061% when pulling 35090ef on jasonbahl:fix/tighten-up-create-media-item-mutation into ec75ecb on wp-graphql:develop.

@qlty-cloud-legacy

Copy link
Copy Markdown

Code Climate has analyzed commit 35090ef and detected 0 issues on this pull request.

View more on Code Climate.

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.

3 participants