benaadams / Ben.Demystifier

High performance understanding for stack traces (Make error logs more productive)
Apache License 2.0
2.75k stars 118 forks source link

Add namespace to frame conditionally #144

Closed bruno-garcia closed 3 years ago

bruno-garcia commented 3 years ago

If I'm not mistaken, adding an optional parameter is technically a breaking change. I could add an overload so that's not breaking if that's better.

Also, as you might recall, I'm consuming the package via git submodule so no need to publish just because of this change.

🙏

benaadams commented 3 years ago

If I'm not mistaken, adding an optional parameter is technically a breaking change.

Yeah, should forward the existing method instead?

// Forward existing method to introduce the default
public StringBuilder Append(StringBuilder builder)
    => Append(StringBuilder builder, fullName: true)

// New method
public StringBuilder Append(StringBuilder builder, bool fullName)
{
   // ...
benaadams commented 3 years ago

Might be issues with making the entire public api internal? 😅

bruno-garcia commented 3 years ago

lol @benaadams sorry pushed the wrong thing here :D

benaadams commented 3 years ago

Thank you!

bruno-garcia commented 3 years ago

Thank you! :)