How are input macros registered in V3?

In v2 you would call ::macro on your input in your provider Filament::serving call. I'm not sure if I'm missing something, but I don't see any v3 docs on the appropriate method to register these macros in v3. The algolia search for macro only gives results for across, and searching DDG/Google with site:filamentphp.com only returns tips & tricks articles from 2022.
2 Replies
Patrick Boivin
Patrick Boivin16mo ago
You can still call Filament::serving() from a service provider. Are you running into any issues? I think another option is ->bootUsing() on the panel
NikSpyratos
NikSpyratosOP16mo ago
Aaaah right, I moved Filament::serving incorrectly. ->bootUsing sounds neater with the new panel setup (assuming I don't need the macros everywhere), so I'll give that a go
Want results from more Discord servers?
Add your server