Externalized SDK Helpers #1292
paulr34
started this conversation in
Feature design
Replies: 2 comments 6 replies
-
Few comments...
|
Beta Was this translation helpful? Give feedback.
1 reply
-
APIs we need to support:
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem:
SDK helpers are maintained within the ZAP source code, requiring SDK developers to write their code within the ZAP repository when they need a new ZAP API.
Initially, the SDK helpers were external. However, they were moved into the ZAP repository due to maintenance and design concerns:
Design:
To prevent SDK developers from being constrained in their use of the ZAP API, a new design pattern has been devised to enable and empower them throughout their interaction with ZAP.
In the provided code snippet, the SDK receives an API object containing "attributes" which invokes a query. In the event of a query name change, the ZAP developer updates the API, relieving the SDK developer from making any adjustments.
Beta Was this translation helpful? Give feedback.
All reactions