Skip to content

Conversation

matthewnitschke-wk
Copy link
Contributor

@matthewnitschke-wk matthewnitschke-wk commented May 28, 2023

FEA-2017

Issue Status

Adds support for "relationships" which will enable usage of "Go to Implementations" on classes and methods

Worth noting that the functionality that relationships provides is not available in the current release of sourcegraph (for dartlang). https://github.com/sourcegraph/sourcegraph/pull/52670, enables this functionality, and should be within sourcegraph's v5.1 version

@aviary-wf
Copy link

Security Insights

No security relevant content was detected by automated scans.

Action Items

  • Review PR for security impact; comment "security review required" if needed or unsure
  • Verify aviary.yaml coverage of security relevant code

Questions or Comments? Reach out on Slack: #support-infosec.

Comment on lines +21 to +25
.where((type) => !type.isDartCoreObject)
.map((type) => Relationship(
symbol: symbolGenerator.symbolFor(type.element),
isImplementation: true,
))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

If a class has any supertypes, all of those supertypes (allSupertypes refers to every super type, including super types of super types) are relationships

@matthewnitschke-wk matthewnitschke-wk changed the title spike implementation of relationships Relationships May 28, 2023
- uses: dart-lang/setup-dart@v1
with:
sdk: stable
sdk: 2.18.7
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Currently only dart 2 is supported

Will have to spend some time considering what using scip generation on multiple different versions will look like

Copy link
Contributor Author

Choose a reason for hiding this comment

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

#51

@matthewnitschke-wk matthewnitschke-wk marked this pull request as ready for review May 28, 2023 23:09
@bender-wk bender-wk changed the title Relationships FEA-2017: Relationships Jun 13, 2023
@matthewnitschke-wk
Copy link
Contributor Author

QA +1

Verified generated snapshots are as expected

@matthewnitschke-wk
Copy link
Contributor Author

🚀 @Workiva/release-management-p 🚢

Copy link

@rmconsole-wf rmconsole-wf left a comment

Choose a reason for hiding this comment

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

+1 from RM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants