HomePhorge

Add operation lookup by {controller, action}

Description

Add operation lookup by {controller, action}

This optimization avoids having to call open_api_operation(action)
in each call to CastAndValidate for phoenix controllers.

The caching behaviour is moved into a separate module, and
updated from CastAndValidate the first time a phoenix controller/action
is used to resolve an Operation.

Details

Provenance
Michael BuhotAuthored on Apr 21 2019, 12:57 AM
Mike BuhotCommitted on Apr 27 2019, 11:17 PM
Parents
R22:08e76b40f7dc: Merge pull request #101 from open-api-spex/feature/atomify-enum-on-cast
Branches
Unknown
Tags
Unknown

Event Timeline