-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(api): upgrade to api-platform 3.0 #2984
Conversation
…space + fix the same test: testGetSingleDayIsAllowedForMember
I've implemented 2 examples for State Processors (=replacement of Data Persisters). @ecampcore: Would be nice to review + discuss this latest in the next meeting. After that we could migrate the remaining data persisters. Raw example (no abstraction; as per Api-Platform documentation)ActivityCreateProcessor Abstracted example (automatic split of before/after logic + property change listeners)This is is similar as we had it before. However we don't need the separation between various operations and custom actions anymore, as we can now define a separate processor per action out of the box. CampCollaborationCreateProcessor |
ToDo
Stuff for separate PRs
Invitation
andResetPassword
use slightly different concepts on how to return data. Review best practices for DTO in api-platform v3 and implement consistently for both DTOs.