rupadana / filament-api-service

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

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

Closed eelco2k closed 8 months ago

rupadana commented 8 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 8 months ago

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

rupadana commented 8 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.