9.3 API: Migrate DataProvider to StateProvider
Overview of Changes
API Platform 2.x
API Platform 4.x
1. Identify Files to Migrate
2. Migrate DataProvider to StateProvider
Directory Structure
Example Migration
3. Update Service Registration
4. Link StateProvider to Operations
5. Migrate DataPersister to StateProcessor (if applicable)
6. Remove Old Files
7. Validate Changes
Common Patterns
Pattern: Item Provider
Pattern: Using URI Variables
Pattern: Using Filters
Important Notes
Reference
Last updated
Was this helpful?
