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

[5.x]: Response on Grapqhl Entry deletion is null #15465

Closed
The-Dan-Main opened this issue Aug 2, 2024 · 2 comments
Closed

[5.x]: Response on Grapqhl Entry deletion is null #15465

The-Dan-Main opened this issue Aug 2, 2024 · 2 comments
Labels

Comments

@The-Dan-Main
Copy link

What happened?

Description

When i delete an entry via graphql, it should return a boolean, whether the deletion was succesfull or not (information from docs), but it returns "nulll" at all times.

Steps to reproduce

1.delete an entry via id with graphql

Expected behavior

to return a boolean, which outsputs the successfulness of my mutation.

Actual behavior

it returns null, in both cases (entry existed and is deleted now // entry did not exist and therefore was not deleted)

Craft CMS version

5.2.9 Pro

PHP version

8.3.7

Operating system and version

Plesk Obsidian with Debian Base

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@brandonkelly
Copy link
Member

Thanks for reporting that! Fixed for the next Craft 4 and 5 releases.

@brandonkelly
Copy link
Member

Craft 4.10.8 and 5.2.10 are out with that fix. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants