rupadana / filament-api-service

A simple api service for supporting filamentphp
https://filamentphp.com/plugins/rupadana-api-service
MIT License
95 stars 22 forks source link

allow for setting middlewares via config and via Filament Resources #35

Closed eelco2k closed 3 months ago

rupadana commented 3 months ago

i think its better to use ApiServicePlugin::make()->middleware() cause filament had filament API in Panel Provider too, so the dev can focus on the Provider for adding the middleware

eelco2k commented 3 months ago

@rupadana i've refactored it. you are right. this way a dev can use middlewares per panel instance.

rupadana commented 3 months ago

@eelco2k Thank you for your Contribution 👍 . this PR is already merged to dev. Please take some test of it, and if you want to contribute again, please create new branch from dev. Thank you.