Rework internals of sharding to make it possible for backends not to rely on Class<?>

Description

We currently have to use Class<?> in some places in backends, mainly because of IndexShardingStrategy. We can't remove it right now, but we should isolate it from the rest of the application with a wrapper.

We may take this chance to anticipate future needs such as (if we can).

Environment

None

Status

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Priority

Major
Configure