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

Improve endpoint metadata debugging #48207

Merged
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
bbd0058
Override the ToString method in the DataTokensMetadata class.
SeanFarrow Mar 12, 2023
6252be4
Override the ToString method in the EndpointNameMetadata class.
SeanFarrow Mar 12, 2023
9bcccae
Override the ToString method in the HostAttribute class.
SeanFarrow Mar 12, 2023
ae62eec
Use the overridden ToString method of the HostAttribute class rather …
SeanFarrow Mar 12, 2023
c622400
Override the ToString method in the HttpMethodMetadata class.
SeanFarrow Mar 12, 2023
2810c06
Use the ToString method of the HttpMethodMetadata for debugging and r…
SeanFarrow Mar 12, 2023
b4e3786
Override the ToString method in the RouteNameMetadata class.
SeanFarrow Mar 12, 2023
19e069c
Use the newly implemented ToString method instead of DebuggerToString…
SeanFarrow Mar 12, 2023
a388d8e
Override the ToString method in the SuppressLinkGenerationMetadata cl…
SeanFarrow Mar 12, 2023
3cf3bb1
Override the ToString method in the SuppressMatchingMetadata class.
SeanFarrow Mar 12, 2023
1dcbd3f
Update the ToString method of the DataTokensMetadata class to remove …
SeanFarrow Mar 14, 2023
9000058
Override the ToString method in the DataTokensMetadata class.
SeanFarrow Mar 12, 2023
fc093b2
Override the ToString method in the HostAttribute class.
SeanFarrow Mar 12, 2023
1c2cc7f
Override the ToString method in the HttpMethodMetadata class.
SeanFarrow Mar 12, 2023
17ec7f6
Override the ToString method in the RouteNameMetadata class.
SeanFarrow Mar 12, 2023
4f2b05a
Update the ToString method of the DataTokensMetadata class to remove …
SeanFarrow Mar 14, 2023
72d493e
Clean up, collection proxy, extra attributes
JamesNK May 12, 2023
ee43ced
Update
JamesNK May 12, 2023
9fece53
Tests
JamesNK May 12, 2023
abe4ece
Add more attributes
JamesNK May 12, 2023
6fdf4a1
Fix build
JamesNK May 12, 2023
2c8d162
Fix tests
JamesNK May 12, 2023
a3acf62
Fix test
JamesNK May 12, 2023
1e69c9a
Update
JamesNK May 12, 2023
4af1ea4
PR feedback
JamesNK May 13, 2023
cf99e7f
Add debugger helper
JamesNK May 17, 2023
ca2b203
Update
JamesNK May 17, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix test
  • Loading branch information
JamesNK committed May 12, 2023
commit a3acf62da4bceea22078487e8113c58a12167438
2 changes: 1 addition & 1 deletion src/Http/Routing/test/UnitTests/MetadataTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public void HttpMethodMetadata_ToString()
var value = metadata.ToString();

// Assert
Assert.Equal("HttpMethods: GET,POST - Cors: True", value);
Assert.Equal("HttpMethods: GET,POST, Cors: True", value);
}

[Fact]
Expand Down