Track tasks and feature requests
Join 36 million developers who use GitHub issues to help identify, assign, and keep track of the features and bug fixes your projects need.
Sign up for free See pricing for teams and enterprisesThrow when xxxOptions are null #1076
Comments
nulltoken
added
Up for grabs
Easy fix
Stabilization
labels
Jun 6, 2015
This comment has been minimized.
This comment has been minimized.
|
This would introduce API contract breakage (huge one) and code verbosity on user side. I for one am against this change. |
This comment has been minimized.
This comment has been minimized.
|
The table below represents the impact of the proposed change.
I agree about the API code contract breakage. However, now is the time for this (hence the stabilization label). v0.22 is taking quite a long time to get out of the woods as we're trying to obsolete as many things as possible in order to be able to release v1.0 as the next version after it. Regarding the additional code verbosity, I'm not sure to see what you refers to. Could you please elaborate further on this topic? Maybe with an example? From another standpoint, I'm not sure I see the added value of allowing |
This comment has been minimized.
This comment has been minimized.
|
Ah, so, basically, you wouldn't be able to pass Probably all the overloads should go into extensions anyway. |
This comment has been minimized.
This comment has been minimized.
|
Aka:
Should be in a:
|
This comment has been minimized.
This comment has been minimized.
|
Yes. That was the idea |
This comment has been minimized.
This comment has been minimized.
|
|


nulltoken commentedJun 6, 2015
From https://github.com/libgit2/libgit2sharp/pull/1068/files#r31650592
We rely on the following pattern throughout the codebase.
Let's change this to the following one