Skip to content

Warn the user when multiple options for the same plugin key are specified #3600

@ntjess

Description

@ntjess

Description

In #3596, I accidentally created multiple copies of the @hey-api/typescript plugin with different settings, with each one being independently valid.

It might be helpful for openapi-ts to emit a warning in these cases (duplicate plugins specified) so that future users with similar problems get some diagnostics pointing them to root causes (and hopefully wasting less maintainer time 😅)

If the behavior is intended, it might be worth adding documentation on whether the plugin settings are merged vs. overridden by later entries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions