-
Notifications
You must be signed in to change notification settings - Fork 775
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
[20733] Fix support for @key annotation in Dynamic types #4694
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 tasks
EduPonz
added
to-do
needs-review
PR that is ready to be reviewed
and removed
to-do
labels
Apr 23, 2024
EduPonz
force-pushed
the
hotfix/key_annotation_xml_types
branch
from
April 24, 2024 13:27
ab60fe9
to
4e79d8b
Compare
pablogs9
previously approved these changes
Apr 24, 2024
pablogs9
previously approved these changes
Apr 24, 2024
MiguelCompany
previously approved these changes
Apr 24, 2024
Signed-off-by: eduponz <eduardoponz@eprosima.com>
Signed-off-by: eduponz <eduardoponz@eprosima.com>
Signed-off-by: eduponz <eduardoponz@eprosima.com>
EduPonz
force-pushed
the
hotfix/key_annotation_xml_types
branch
from
April 29, 2024 13:14
b2bd867
to
b955060
Compare
Signed-off-by: eduponz <eduardoponz@eprosima.com>
EduPonz
force-pushed
the
hotfix/key_annotation_xml_types
branch
from
April 29, 2024 14:15
b955060
to
b76cfdc
Compare
MiguelCompany
requested changes
Apr 29, 2024
Note: both suggestions don't require CI to be launched again Additionally, the PR description does not indicate the fixes performed in DynamicTypes regarding key annotations |
EduPonz
added
skip-ci
Automatically pass CI
and removed
ci-pending
PR which CI is running
labels
Apr 30, 2024
EduPonz
changed the title
[20733] Fix support for @key annotation in XML types
[20733] Fix support for @key annotation in Dynamic types
Apr 30, 2024
EduPonz
force-pushed
the
hotfix/key_annotation_xml_types
branch
from
April 30, 2024 05:13
92b62ee
to
8c415ee
Compare
EduPonz
force-pushed
the
hotfix/key_annotation_xml_types
branch
from
April 30, 2024 05:16
8c415ee
to
1380e97
Compare
Signed-off-by: eduponz <eduardoponz@eprosima.com>
EduPonz
force-pushed
the
hotfix/key_annotation_xml_types
branch
from
April 30, 2024 05:17
1380e97
to
2519f21
Compare
MiguelCompany
approved these changes
Apr 30, 2024
@Mergifyio backport 2.13.x 2.10.x 2.6.x |
✅ Backports have been created
|
mergify bot
pushed a commit
that referenced
this pull request
Apr 30, 2024
* Refs #20733: Fix support for key annotation in XML types Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Add test Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Move implementations to cpp Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Properly fix key annotation handling Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Apply Miguel's suggestions Signed-off-by: eduponz <eduardoponz@eprosima.com> --------- Signed-off-by: eduponz <eduardoponz@eprosima.com> (cherry picked from commit eaa23db)
12 tasks
mergify bot
pushed a commit
that referenced
this pull request
Apr 30, 2024
* Refs #20733: Fix support for key annotation in XML types Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Add test Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Move implementations to cpp Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Properly fix key annotation handling Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Apply Miguel's suggestions Signed-off-by: eduponz <eduardoponz@eprosima.com> --------- Signed-off-by: eduponz <eduardoponz@eprosima.com> (cherry picked from commit eaa23db) # Conflicts: # resources/xsd/fastRTPS_profiles.xsd # test/system/tools/xmlvalidation/XMLTesterExample_profile.xml # test/system/tools/xmlvalidation/all_profile.xml # test/system/tools/xmlvalidation/types_profile.xml
mergify bot
pushed a commit
that referenced
this pull request
Apr 30, 2024
* Refs #20733: Fix support for key annotation in XML types Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Add test Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Move implementations to cpp Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Properly fix key annotation handling Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Apply Miguel's suggestions Signed-off-by: eduponz <eduardoponz@eprosima.com> --------- Signed-off-by: eduponz <eduardoponz@eprosima.com> (cherry picked from commit eaa23db)
This was referenced Apr 30, 2024
MiguelCompany
pushed a commit
that referenced
this pull request
May 6, 2024
* Refs #20733: Fix support for key annotation in XML types Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Add test Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Move implementations to cpp Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Properly fix key annotation handling Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Apply Miguel's suggestions Signed-off-by: eduponz <eduardoponz@eprosima.com> --------- Signed-off-by: eduponz <eduardoponz@eprosima.com> (cherry picked from commit eaa23db)
MiguelCompany
pushed a commit
that referenced
this pull request
May 7, 2024
* Refs #20733: Fix support for key annotation in XML types Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Add test Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Move implementations to cpp Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Properly fix key annotation handling Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Apply Miguel's suggestions Signed-off-by: eduponz <eduardoponz@eprosima.com> --------- Signed-off-by: eduponz <eduardoponz@eprosima.com> (cherry picked from commit eaa23db) Co-authored-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com>
EduPonz
added a commit
that referenced
this pull request
May 9, 2024
* Refs #20733: Fix support for key annotation in XML types Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Add test Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Move implementations to cpp Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Properly fix key annotation handling Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Apply Miguel's suggestions Signed-off-by: eduponz <eduardoponz@eprosima.com> --------- Signed-off-by: eduponz <eduardoponz@eprosima.com> (cherry picked from commit eaa23db) Co-authored-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com>
EduPonz
added a commit
that referenced
this pull request
Jun 8, 2024
* Refs #20733: Fix support for key annotation in XML types Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Add test Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Move implementations to cpp Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Properly fix key annotation handling Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Apply Miguel's suggestions Signed-off-by: eduponz <eduardoponz@eprosima.com> --------- Signed-off-by: eduponz <eduardoponz@eprosima.com> (cherry picked from commit eaa23db)
EduPonz
added a commit
that referenced
this pull request
Jun 8, 2024
* Refs #20733: Fix support for key annotation in XML types Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Add test Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Move implementations to cpp Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Properly fix key annotation handling Signed-off-by: eduponz <eduardoponz@eprosima.com> * Refs #20733: Apply Miguel's suggestions Signed-off-by: eduponz <eduardoponz@eprosima.com> --------- Signed-off-by: eduponz <eduardoponz@eprosima.com> (cherry picked from commit eaa23db) Co-authored-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR:
@key
annotation on dynamic types:AnnotationDescriptor::key_annotation()
implementationis_key_defined_
inDynamicType::copy_from_builder()
DynamicType::key_annotation()
implementation@key
annotation only to the member builder and not to the dynamic type, as@key
only makes sense for members but not types.key
attribute to members in XSD@Mergifyio backport 2.13.x 2.10.x 2.6.x
Contributor Checklist
versions.md
file (if applicable).Reviewer Checklist