Skip to content

Conversation

toby-griffiths
Copy link
Contributor

New version of PR #144, properly rebased on master,…

I've added the possibility to add the following to a type definition to support operation annotations…

types:
    Person:
        operations:
            item:
                <method>:
                    method: '<method>' # or…
                    router_name: '<route_name>'
                # ...
            collection:
                <method>:
                    method: '<method>' # or…
                    router_name: '<route_name>'
                # ...

This will probably want documenting too, but not got time to do this right now. I've made a reminder to do this if someone else doesn;t get to it before I do.

@dunglas dunglas merged commit 2163c5b into api-platform:master Oct 10, 2019
@dunglas
Copy link
Member

dunglas commented Oct 10, 2019

Thanks Toby!

@toby-griffiths
Copy link
Contributor Author

Happy to help

@toby-griffiths toby-griffiths deleted the add-support-for-entity-operation-annotations branch October 10, 2019 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants