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

[0.10] Clean up LoaderVisitor and IDL loading #287

Merged
merged 2 commits into from
Feb 24, 2020

Conversation

mtdowling
Copy link
Member

@mtdowling mtdowling commented Feb 23, 2020

  • Ensures that JSON IDL models are loaded before IDL models to reduce forward reference lookups when loading IDL models.

  • Move IDL specific loading logic to IDL

    This commit moves all IDL-specific model loading logic into the IDL loader and out of the LoaderVisitor. This cleans up the LoaderVisitor and also fixes a bug in how the apply statement wasn't properly resolving the targeted shape ID (it always assumed that the target was in the current namespace).

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@mtdowling mtdowling changed the title Reduce forward reference lookups [0.10] Clean up LoaderVisitor and IDL loading Feb 24, 2020
@mtdowling mtdowling force-pushed the reduce-forward-reference-lookups branch from cd89c44 to 1e1e4fa Compare February 24, 2020 21:42
This commit ensures that JSON IDL models are loaded before IDL models to
reduce forward reference lookups when loading IDL models.
This commit moves all IDL-specific model loading logic into the IDL
loader and out of the LoaderVisitor. This cleans up the LoaderVisitor
and also fixes a bug in how the `apply` statement wasn't properly
resolving the targeted shape ID (it always assumed that the target was
in the current namespace).
@mtdowling mtdowling merged commit c68e810 into 0.10 Feb 24, 2020
@mtdowling mtdowling deleted the reduce-forward-reference-lookups branch February 27, 2020 20:48
@kstich kstich mentioned this pull request Apr 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants