Skip to content

Clarify Body Listener Usage in Documentation #854

Open
@jonmchan

Description

@jonmchan

Can we add clarification and/or an example to the Body Listener documentation section (https://github.com/FriendsOfSymfony/FOSRestBundle/blob/master/Resources/doc/3-listener-support.md#body-listener)? I notice there is no controller example for just using the Body Listener. Is it that the Body Listener must be used with the ParamFetcher listener or the Request Body Converter Listener? If so, can this be explicitly stated in the documentation somewhere? (I apologize in advance if it is there and I just couldn't find it)

While I'm on the topic... I think the Listener Support page in general can use some cleanup. There has been many different listeners that have been added that sometimes interact with each while others can be used in alternative to each other. The other issue is that the names are all very similar - maybe we can add a TOC or definitions section that lists all the different listeners and their purpose in one sentence? Maybe we can categorize them too by what they do?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions