Skip to content

Progression should properly descend into types for IntelliTrace MVC queries - #421

Merged
brettfo merged 1 commit into
dotnet:masterfrom
brettfo:graph-provider-contains
Feb 12, 2015
Merged

Progression should properly descend into types for IntelliTrace MVC queries#421
brettfo merged 1 commit into
dotnet:masterfrom
brettfo:graph-provider-contains

Conversation

@brettfo

@brettfo brettfo commented Feb 12, 2015

Copy link
Copy Markdown
Member

When BeginGetGraphData() (in GraphProvider.cs) was migrated from the old code, a query type of the format {Direction=Target, LinkCategories=[Contains]} was missed that IntelliTrace produced when it wanted us to descend into types.

@brettfo

brettfo commented Feb 12, 2015

Copy link
Copy Markdown
Member Author

@jasonmalinowski can you take a look?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Rather than all of this, it still seems easier if we just test the BeginGetGraphData method directly. If you extract out the logic of context -> IEnumerable<GraphQueries> directly to a simple static method, we just write a very simple test that asserts that given the graph query in question results in determining we need a Contains query. Much smaller and more direct.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

👍

…ntains]}

This will allow IntelliTrace files generated from MVC projects to navigate properly.
@brettfo
brettfo force-pushed the graph-provider-contains branch from e060c13 to 62cdaa7 Compare February 12, 2015 19:02
@brettfo

brettfo commented Feb 12, 2015

Copy link
Copy Markdown
Member Author

@Jenkins test this please

@brettfo

brettfo commented Feb 12, 2015

Copy link
Copy Markdown
Member Author

retest this please

@Pilchie

Pilchie commented Feb 12, 2015

Copy link
Copy Markdown
Member

👍

@jasonmalinowski

Copy link
Copy Markdown
Member

:shipit:

brettfo added a commit that referenced this pull request Feb 12, 2015
Progression should properly descend into types for IntelliTrace MVC queries
@brettfo
brettfo merged commit 6f7c3eb into dotnet:master Feb 12, 2015
@brettfo
brettfo deleted the graph-provider-contains branch February 12, 2015 20:52
dibarbet pushed a commit that referenced this pull request Aug 18, 2026
Automatically include all compiler diagnostics with IDs that match a provided code fix
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.

4 participants