Skip to content
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

Fix SerdeImport of subtypes #634

Merged
merged 1 commit into from Nov 2, 2023
Merged

Fix SerdeImport of subtypes #634

merged 1 commit into from Nov 2, 2023

Conversation

yawkat
Copy link
Member

@yawkat yawkat commented Nov 2, 2023

SerdeImport does not add the Serdeable.Deserializable stereotype so findSubtypeDeserializables would not include an imported type in the subtype listing. This PR overrides findSubtypeDeserializables to use isEnabledForDeserialization which handles import properly.

This is for #536, not sure it fixes the full issue though.

SerdeImport does not add the Serdeable.Deserializable stereotype so findSubtypeDeserializables would not include an imported type in the subtype listing. This PR overrides findSubtypeDeserializables to use isEnabledForDeserialization which handles import properly.

This is for #536, not sure it fixes the full issue though.
@yawkat yawkat added the type: bug Something isn't working label Nov 2, 2023
@yawkat yawkat added this to the 2.2.7 milestone Nov 2, 2023
Copy link

sonarcloud bot commented Nov 2, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

84.6% 84.6% Coverage
0.0% 0.0% Duplication

@sdelamo sdelamo merged commit 3843c46 into master Nov 2, 2023
12 checks passed
@sdelamo sdelamo deleted the import-subtype branch November 2, 2023 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants