Skip to content

Allow multiple TypeRegistryConfigurers #1426

@mpkorstanje

Description

@mpkorstanje

From Slack:

Let's say we have three testing projects - two are specific for some platforms (e.g. web/mobile), and third one, that is dependency for both of them, have some common Cucumber steps.
According to documentation, to register ParameterTypes in cucumber-jvm v3 I should add TypeRegistryConfigurer in glue path, but I need different types to be registered in different projects. So when I have some common TypeRegistryConfigurer implementation in root project, I can't add more TypeRegistryConfigurer implementations in dependent projects (because of error, that says we can't add more than one instance of TypeRegistryConfigurer).

I would appreciate a PR that seperates the two methods of the interface. Only the locale method can't be repeated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🧷 pinnedTells Stalebot not to close this issue⚡ enhancementRequest for new functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions