Skip to content

Conflicts between AWS SDK in this plugin and others #822

@lakrisgubben

Description

Describe your question

Hey y'all,

first of all thanks for a great plugin! :)

Since Amazon Polly was added as a text-to-speech provider this plugin can conflict with other plugins (or other parts of wp-apps) that also uses the AWS SDK. In general this wouldn't be a big problem as long as both places that loaded the SDK where using a somewhat similar version. But since Classifai removes all services from the AWS SDK except for Polly this can lead to issues such as missing methods in the SDK.

I realize that loading all of the AWS SDK will make the plugin-zip really large, so I was wondering if maybe you could use something like https://github.com/coenjacobs/mozart to namespace the dependencies brought in via composer? Or if you've got any better ideas to solve the conflict.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededneeds:engineeringThis requires engineering to resolve.

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions