Skip to content

Conversation

bruno-garcia
Copy link
Member

No description provided.

Copy link
Contributor

@kanadaj kanadaj left a comment

Choose a reason for hiding this comment

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

Any reason for aspnetOptions.ConfigureOptionsActions being an array? It doesn't seem very useful in the big picture.

}

aspnetOptions.ConfigureOptions?.Invoke(o);
aspnetOptions.ConfigureOptionsActions?.ForEach(a => a?.Invoke(o));
Copy link
Contributor

Choose a reason for hiding this comment

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

Any reason for this being an array? It doesn't seem very useful in the big picture.

Copy link
Member Author

Choose a reason for hiding this comment

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

It allows adding more than one callback to configure stuff. There are 2 already

@codecov-io
Copy link

codecov-io commented Jul 5, 2018

Codecov Report

Merging #35 into master will increase coverage by 0.09%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #35      +/-   ##
==========================================
+ Coverage    94.3%   94.39%   +0.09%     
==========================================
  Files          63       66       +3     
  Lines        1615     1642      +27     
==========================================
+ Hits         1523     1550      +27     
  Misses         92       92
Impacted Files Coverage Δ
src/Sentry/Internal/ReleaseLocator.cs 100% <100%> (ø)
src/Sentry/Internal/ApplicationVersionLocator.cs 100% <100%> (ø)
...entry.AspNetCore/SentryWebHostBuilderExtensions.cs 100% <100%> (ø) ⬆️
src/Sentry.AspNetCore/SentryAspNetCoreOptions.cs 100% <100%> (ø) ⬆️
src/Sentry/Internal/SentryOptionsExtensions.cs 100% <100%> (ø)
src/Sentry/SentryClient.cs 100% <100%> (ø) ⬆️
src/Sentry/SentryOptions.cs 93.75% <100%> (+0.41%) ⬆️
...ry.AspNetCore/SentryAspNetCoreOptionsExtensions.cs 100% <100%> (ø) ⬆️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 95d6cd2...850bd5f. Read the comment docs.

@bruno-garcia bruno-garcia merged commit eceab66 into master Jul 5, 2018
@bruno-garcia bruno-garcia deleted the feat/releases branch July 5, 2018 14:05
bruno-garcia added a commit that referenced this pull request Dec 17, 2019
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