The ProcessAPIConfig does a lot of method including parsing and pulling of markers. During a debug sessions, I found that this method is called twice which results in potentially duplication of an intense loop.
I believe we should export the createAPISubcommand type (CreateAPISubcommand) and use it in both of these packages and do everything up front (item 1 above) and remove the extra calls. This would allow us to validate and set the workload only a single time and remove the second loop.
The ProcessAPIConfig does a lot of method including parsing and pulling of markers. During a debug sessions, I found that this method is called twice which results in potentially duplication of an intense loop.
I believe we should export the
createAPISubcommand
type (CreateAPISubcommand
) and use it in both of these packages and do everything up front (item 1 above) and remove the extra calls. This would allow us to validate and set the workload only a single time and remove the second loop.