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

[5.9] Process typeDetails information from symbol graphs #530

Merged
merged 2 commits into from
Apr 1, 2023

Conversation

pdwilson12
Copy link
Contributor

Cherry-pick of #529

Explanation: HTTP/REST requests and JSON dictionaries can define parameters and keys that are weakly typed, allowing for multiple possible value types, such as integer or string. This extends symbol graphs to call out those individual allowed types and show up on the rendered page.
Scope: Adds a new optional key to symbol graphs and converts that data to existing page structures used when rendering HTTP parameters and dictionary keys.
Radar: rdar://107432025
Risk: Low. Added key is optional.
Testing: Changes are covered by unit tests.
Reviewer: @QuietMisdreavus

* Process `typeDetails` information from symbol graphs.

Convert data into base-type details and allowed type declarations for `RenderProperty` entities, such as dictionary keys and HTTP parameters.

* Update SymbolKit dependency to pick up latest commit.
@pdwilson12
Copy link
Contributor Author

@swift-ci please test

@pdwilson12
Copy link
Contributor Author

@swift-ci please test

@d-ronnqvist
Copy link
Contributor

@swift-ci please test macOS

@pdwilson12
Copy link
Contributor Author

@swift-ci please test

@pdwilson12 pdwilson12 merged commit c87e89a into swiftlang:release/5.9 Apr 1, 2023
@pdwilson12 pdwilson12 deleted the type_details_5.9 branch April 1, 2023 02:13
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.

3 participants