Skip to content

Support for narrowing the generated types #113

@jdunck

Description

@jdunck

I work on a project that integrates with Workday's SOAP APIs. These are very large services:

% find integrations/codegen/src/workday/gen/ | grep /definitions/ | wc -l
    6356

However, we only need to integrate with perhaps 10 of the SOAP operations across 4 different SOAP services.

I've noticed some impact on the TS server and linter since generating all the service definitions.

In thinking about this problem, one possible solution would be narrowing the generated code to only the SOAP operations needed.

Ideally:
wsdl-client --emitDefinitionsOnly --withOperations "Get_Workday_Companies,...." would generate just the needed types to support the requested SOAP operations.

(Here's a workday soap wsdl for context.)

If you like this idea, I'm interested in collaborating on it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions