Skip to content

What is the alternative of DataTransformer? #4892

Answered by soyuka
bikalbasnet asked this question in Q&A
Discussion options

You must be logged in to vote

It's become easier please check the documentation at https://api-platform.com/docs/main/core/dto/ (main branch). Basically all you need to do instead is a State Processor, you'll receive the input and process it as you like. If you still want to persist your data decorate our state process to do it magically.

Let me know if something is unclear.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by dunglas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants