We're updating the issue view to help you get more done. 

Search 6 groundwork - Rework the syntax when using extensions

Description

In particular:

  • remove the withExtensionOptional() methods

  • introduce a syntax allowing to more easily use multiple extensions. Something like withExtension().extension( ElasticsearchExtension.get(), c -> {...}).extension( LuceneExtension.get(), c -> {...}).otherwise( c -> {...} ). Make sure to trigger an error if otherwise is never used and no extension was matched.

Environment

None

Status

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Fix versions

Priority

Major