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

Accept IProxyGenerator instead-of OR in-addition-to ProxyGenerator #30

Merged
merged 4 commits into from
Nov 11, 2017

Conversation

ndrwrbgs
Copy link
Collaborator

Fixes #29.

I made two commits here (see the commit history in the PR). The first was an attempt at a non-breaking change for this, and for MOST users it would be non-breaking. However, there are edge cases around reflection and type inference - https://coding.abel.nu/2014/07/adding-an-overload-is-a-breaking-change/ .

The second properly moves the interfaces all over to IProxyGenerator, which was, as @JSkimming asked, a drop-in-place solution. As the nuget package already requires Castle >= 4.2.0, no changes to dependencies need to be made.

@codecov-io
Copy link

codecov-io commented Nov 10, 2017

Codecov Report

❗ No coverage uploaded for pull request base (master@b897860). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             master    #30   +/-   ##
=======================================
  Coverage          ?   100%           
=======================================
  Files             ?      5           
  Lines             ?    229           
  Branches          ?      7           
=======================================
  Hits              ?    229           
  Misses            ?      0           
  Partials          ?      0
Impacted Files Coverage Δ
....Core.AsyncInterceptor/ProxyGeneratorExtensions.cs 100% <ø> (ø)

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 b897860...a6ab1e6. Read the comment docs.

@JSkimming
Copy link
Owner

@ndrwrbgs You're on 🔥 at the moment mate 👏👏👏

I'll be giving these PRs some love over the weekend. Thanks for the contributions.

@JSkimming JSkimming merged commit efb91f8 into JSkimming:master Nov 11, 2017
@ndrwrbgs ndrwrbgs deleted the issue29 branch November 11, 2017 18:14
@JSkimming JSkimming self-requested a review November 11, 2017 23:39
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