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

Support xsi:type overrides when resolving content model #1647

Merged
merged 2 commits into from
Oct 24, 2024

Conversation

Equinox-
Copy link
Contributor

Changes the content model to resolve xsi:type based polymorphism when navigating from a DOMElement to a CMXSDElement, fixing a bug where documentation and hints for the derived types were not presented.

@Equinox-
Copy link
Contributor Author

@angelozerr would it be possible to get a review on this PR? Not really sure who to ask, or if this repository even accepts pull requests, but you seem to have merged one a month ago.

@@ -22,6 +22,8 @@
import java.util.logging.Level;
import java.util.logging.Logger;

import com.google.common.collect.HashBasedTable;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we use a simple hashmap to avoid having depenedncy to commons google?

@angelozerr
Copy link
Contributor

@angelozerr would it be possible to get a review on this PR? Not really sure who to ask, or if this repository even accepts pull requests, but you seem to have merged one a month ago.

Sorry @Equinox- ! I have add a little comment. Let me more time to review your pr please.

@angelozerr angelozerr added this to the 0.29.0 milestone Oct 24, 2024
@angelozerr angelozerr added bug Something isn't working XSD labels Oct 24, 2024
@angelozerr angelozerr merged commit f1c9376 into eclipse-lemminx:main Oct 24, 2024
5 of 6 checks passed
@angelozerr
Copy link
Contributor

Thanks @Equinox- !

@Equinox-
Copy link
Contributor Author

It looks like checks failed. I don't think it's related to my PR (seems like it's just flakey?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working XSD
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants