You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Roman Puchkovskiy (Jira)" <ji...@apache.org> on 2022/08/12 10:31:00 UTC
[jira] [Updated] (IGNITE-17497) Support inheritance of polymorphic configurations
[ https://issues.apache.org/jira/browse/IGNITE-17497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roman Puchkovskiy updated IGNITE-17497:
---------------------------------------
Reviewer: Aleksandr Polovtcev
[~apolovtcev] could you please take a look at the attached PR?
> Support inheritance of polymorphic configurations
> -------------------------------------------------
>
> Key: IGNITE-17497
> URL: https://issues.apache.org/jira/browse/IGNITE-17497
> Project: Ignite
> Issue Type: Improvement
> Reporter: Roman Puchkovskiy
> Assignee: Roman Puchkovskiy
> Priority: Major
> Labels: ignite-3
> Fix For: 3.0.0-alpha6
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Currently, polymorphic configuration schemas must have exactly one parent class (not Object).
> It is suggested to implement the following logic:
> # Top config schema must be annotated with PolymorphicConfig (it already works as described here, so nothing needs to be done)
> # Leaf config schema must be annotated with PolymorphicConfigInstance (it already works as described here, so nothing needs to be done)
> # Intermediary config schema classes (extending, directly or indirectly, the top config schema and extended, directly or indirectly by leaf config schemas) are allowed. They do not need to be annotated.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)