Skip to content

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

@The-Dan-Main

Description

@The-Dan-Main

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions