[
https://issues.apache.org/jira/browse/IGNITE-15018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17373375#comment-17373375
]
Ivan Bessonov commented on IGNITE-15018:
----------------------------------------
Looks good, thank you for the contribution!
> Add support for message inheritance for @Transferable
> -----------------------------------------------------
>
> Key: IGNITE-15018
> URL: https://issues.apache.org/jira/browse/IGNITE-15018
> Project: Ignite
> Issue Type: Task
> Components: networking
> Affects Versions: 3.0.0-alpha3
> Reporter: Aleksandr Polovtcev
> Assignee: Aleksandr Polovtcev
> Priority: Minor
> Labels: ignite-3
> Fix For: 3.0.0-alpha3
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> {{@Transferable}} annotation should support message inheritance: it can be
> placed on an interface that extends another interface that declares some
> message fields. These fields should be present in the generated
> implementations.
> For example:
> {code:java}
> interface A extends NetworkMessage {
> int a();
> }
> @Transferable
> interface B extends A {
> int b();
> }
> {code}
> The "{{a}}" field must be present in the generated implementation for {{B}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)