-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Core] Deprecate TypeRegistryConfigurer #1799
Conversation
Annotation based configuration example Lambda style configuration example
examples/java-calculator/src/test/java/io/cucumber/examples/java/ShoppingSteps.java
Outdated
Show resolved
Hide resolved
@@ -6,8 +6,12 @@ | |||
|
|||
/** | |||
* The type registry configurer allows to configure a new type registry and the locale. | |||
* @deprecated Please use annotation based configuration. | |||
* See <a href="https://github.com/cucumber/cucumber-jvm/blob/master/examples/java-calculator/src/test/java/io/cucumber/examples/java/ShoppingSteps.java">Annotation based example</a> | |||
* See <a href="https://github.com/cucumber/cucumber-jvm/blob/master/examples/java8-calculator/src/test/java/io/cucumber/examples/java8/ShoppingSteps.java">Lambda based example</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally this should link to the documentation pages rather then github examples.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't really change configuration page in the docs repo before v5 release. This could mislead users.
So I'll change this links to https://cucumber.io/docs/cucumber/configuration/ after v5 release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also don't have to introduce this in 5.0.0. I'd rather have the docs in order so there is a clear way out before we deprecate it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So. I was planning to do this in in v5.x rather then v5.0 because it would make updating the documentation a bit easier but since we're working with release candidates now I think we can prepare the MR for v5.0 along with the release of v5.0.
Deprecated TypeRegistryConfigurer, added more examples, how to use new configuration.
Motivation and Context
#1797
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: