Add Ocelot.Common Project to the solution#1671
Add Ocelot.Common Project to the solution#1671ggnaegi wants to merge 5 commits intoThreeMammals:developfrom
Conversation
- Timer is not thread safe, avoiding usage of it - No Ressources are returned for first call - Using a providers pool, instead of creating a new provider instance
…s class for commonly used constants, such as "ServiceFabric"
|
@raman-m well, so I forgot to switch back to the develop branch... |
|
Well... I have a mixed feelings regarding this PR... It seems you are trying to propose some new feature right in the PR. It doesn't, and it should not work. Regarding this PR... Sorry, I'm going to make this PR as draft... |
|
And do not change any line endings at all please! Make new PR in your forked repo plz, and I will review it if you wish. |
|
@raman-m Yes, I made a mistake there. But, there is a reason why. For me, using string litterals for comparison is a code smell. I have several examples like, "ServiceFabric" and others. I will make a proposal, you're right. |
|
A soon as you've created new PR in your forked repo, then link both of PRs please: this PR to the new one. |
New Feature #
It would be great to have a common project, addressing crosscutting concerns (standardized exceptions, string constants etc, maybe some factories...).
Proposed Changes
Create a new Ocelot.Common project
Add Constants, eg. "ServiceFabric" to a static class, "Constants"