Thanks to part 1 & part 2, we've already built a seriously powerful API, complete with security, custom fields and many more goodies. In this course, we'll take things even further:
- State Providers & "proper" custom fields
- Run custom code on a "state" change (e.g. publishing)
- Custom (non-entity) DTO #[ApiResource] classes
- The new stateOptions shortcut for DTO's
- DTO's & state providers (make:state-provider)
- State processors with DTO's
- Data transformation with symfonycasts/micro-mapper
- IGNORED_ATTRIBUTES, security & other tricks to avoid serialization groups
- Embedded objects (including non-ApiResource objects)
- Pagination for DTO resources
Woh. If you thought you were dangerous before with API Platform, just wait...