Skip to content

[Bug]: Resource pages don't use the resource set in the config file #4

@willcastillo

Description

@willcastillo

What happened?

I can't properly override the resource because the Create, Edit, and List WebhookCall pages are pointing to the base WebhookCall resource class instead of the one set in the config file.

How to reproduce the bug

  • Create a resource that overrides Tapp\FilamentWebhookClient\Resources\WebhookCallResource
  • Register the new resource in config/filament-webhook-client.php replacing the base one.

At this point you'd expect the child pages to use the newly defined resource but that's not the case.

  • Change the model's name in your new resource and you'd expect this change to be taken by the child pages. That's not the case.

Package Version

Latest

PHP Version

8.2

Laravel Version

11

Which operating systems does with happen with?

No response

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions