Skip to content

Conversation

toby-griffiths
Copy link
Contributor

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 I'm just squeezing this in to the Hacktober deadline ;o)

@dunglas
Copy link
Member

dunglas commented Nov 6, 2018

Hi @toby-griffiths, tests have been fixed in master. Could you rebase please?

@toby-griffiths toby-griffiths deleted the add-support-for-entity-operation-annotations branch November 12, 2018 09:27
@toby-griffiths
Copy link
Contributor Author

@dunglas Have created a fresh PR #144 for the version rebased on the current master.

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.

3 participants