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

encode relationshipsByLanguage and orphanRelationships in dump-unified-graph #49

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

QuietMisdreavus
Copy link
Contributor

Bug/issue #, if applicable: None

Summary

When #28 landed, the code for dump-unified-graph was not updated to use the new relationship data. This PR updates the Encodable extension on UnifiedSymbolGraph to use the relationshipsByLanguage and orphanRelationships properties instead of the old unified relationships property. This removes a deprecation warning when building SymbolKit.

Dependencies

None

Testing

Rerun the testing instructions for #29. The Xcode 14 beta will generate multiple symbol graphs per-language, so passing the symbol-graph directory from a project's build folder to --symbol-graph-dir will work.

Checklist

Make sure you check off the following items. If they cannot be completed, provide a reason.

  • [ n/a ] Added tests
  • Ran the ./bin/test script and it succeeded
  • [ n/a ] Updated documentation if necessary

@QuietMisdreavus
Copy link
Contributor Author

@swift-ci Please test

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.

1 participant