Skip to content

[5.x]: Some events are not firing #16978

@igorchubarets

Description

@igorchubarets

What happened?

Description

  1. I need to create a module, that would hide certain functionality behind graphql resolver
  2. To create a new resolver, I went through the official documentation
  3. However it doesn't look like all event's are firing

Steps to reproduce

  1. Create a new module
  2. Add event's to init function

Expected behavior

All event's are firing and registering my query and interface

Actual behavior

  1. 2 top events from screenshot are firing
  2. 2 bottom events from screenshot are not firing
  3. No errors in logs are detected, event's just don't fire.
Image

PS

The only event from craft\services\Gql that is firing.
I tested it and yes, it works.

Image

Craft CMS version

5.6.0

PHP version

8.2.26

Operating system and version

Docker container craftcms/nginx:8.2

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Image

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