connexion icon indicating copy to clipboard operation
connexion copied to clipboard

adds pass_operation_arg_name to `parameter_to_arg`

Open brockhaywood opened this issue 5 years ago • 3 comments

Fixes https://github.com/zalando/connexion/issues/937

Changes proposed in this pull request:

  • adds pass_operation_arg_name to allow passing the current operation to the related handler (similar approach to pass_context_arg_name)

brockhaywood avatar Aug 13 '20 19:08 brockhaywood

Coverage Status

Coverage increased (+0.005%) to 96.884% when pulling 9cf10df27d6a2a2f48b99b0675b02e8d7f0a344e on brockhaywood:bh-provide-operation-to-handler into 1ed14fbde5be3d144760fec4982e90064f151e88 on zalando:master.

coveralls avatar Aug 13 '20 19:08 coveralls

Found this PR through issue #937. Since the PR is open since 2020, could someone give me an update about this PR?

rjkooijman avatar Apr 13 '22 07:04 rjkooijman

@rjkooijman Happy to have this change in connexion, however I would move away from the pass_operation_arg_name and provide the operation under a fixed name. I'd like to do the same for pass_context_arg_name moving to v3.0.

Feel free to submit this to the main branch.

RobbeSneyders avatar Apr 14 '22 18:04 RobbeSneyders