GraphQL middleware
### Node Version

v22.13.0

### NPM/Yarn/PNPM Version

10

### Strapi Version

5.9

### Operating System

MacOS

### Database

PostgreSQL

### Javascript or Typescript

Typescript

### Bug Description

Hi!

Is it me or are the v5 docs on GQL middleware WAY off? I cannot seem to get them to work at all.
https://docs.strapi.io/dev-docs/plugins/graphql

I created a `src/api/manifest/middlewares/only-return-own-entries.ts` with the following content:

```ts
export default (config, { strapi }) => {
  return (context, next) => {
    return next()
  }
}
```

And then in `src/api/manifest/resolvers/config.ts` I have the following part:

```
export default {
  'Query.manifest': {
    policies: ['api::manifest.has-permission'],
  },

  'Query.manifests': {
    middlewares: [
      'api::manifest.only-return-own-entries',
    ],
  },
...
```

Then I out a breakpoint in my middleware to see if it is triggered, but it is not.

### Confirmation Checklist

- [x] I have checked the existing [issues](https://github.com/strapi/strapi/issues) for duplicates.
- [x] I agree to follow this project's [Code of Conduct](https://github.com/strapi/strapi/blob/develop/CODE_OF_CONDUCT.md).