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
#738 #1990 Route Metadata as custom properties #1843
base: release/24.0
Are you sure you want to change the base?
Conversation
a97bb42
to
b3094b2
Compare
Hi Van! Please, Be patient! I need some time to read and understand linked issues... |
Extending route config by custom properties is interesting idea. |
Are they really similar? The route metadata is a nice addition. |
Right, the technical designs are different.. But these both issues are about the same custom properties for route. Similarity in this thing only. @RaynaldM Thanks for the review! |
All feedback has been resolved. Thank everybody for taking the time to work on my PR. Thank @RaynaldM for your reviews. |
0f606c6
to
b2a30d9
Compare
|
Hi @raman-m
|
67121d9
to
29ae7e9
Compare
@ggnaegi Could you please explain why you rebased this feature branch again? It appears the branch had already been rebased onto release/24. Why was this done? Keep in mind that if rebasing occurs on the origin, you'll need to remove the branch in your local repository, fetch all changes from the origin, and then check out the branch again. If your local branch differs from the origin, you need not to force a rebase: just re-checkout! It seems that the local
|
I'm unable to review due to redundant commits from the develop branch. Please create a backup branch to preserve the current state locally, then rebase onto ThreeMammals:release/24.0. If you require assistance, feel free to ask; I have a reliable local copy of the feature branch and can perform another force push if necessary. |
@raman-m Ok, then just do that, I don't have a reliable local copy anymore... Thanks. I probably forgot to delete the local copy and checkout. |
4a311fb
to
dfcc351
Compare
…th global configuration
…iguration changes too)
@raman-m all my commits are gone? 😅 |
@ggnaegi Negative! Your commits are preserved! If you want to contribute more, just delete branch locally, fetch all and checkout once again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent work, team, @ggnaegi @vantm 💪
Here are my suggestions:
Major Issues:
- The feature functionality should be organized by software features (modules): in Dependency Injection, separate folders.
- The use of .NET code reflection technology in the library is fundamentally incorrect!
Sorry! We can't merge it for now! Let's work a bit more...
Why is code reflection a problem? Performance, maintainability?. I used the code reflection to avoid issues with functionalities that aren't supported in .NET 6 yet. I don't agree with you, until we provide coding standards, this PR is good to be merged. |
@ggnaegi Gui,
Code reflection can pose issues with performance and seems no issues with maintainability.
Which functionality is unavailable in .NET 6? Is it the
I concur that merging is a good step, but it's better to address the issues I've identified. If you're short on time, I can tackle the problems highlighted in my code review. However, my immediate focus is on the current monthly release. Once that's handled, I'll return to this pull request. |
@raman-m what monthly release? It wasn't planed like that! |
This monthly release → March-April'24 |
@raman-m ready for re-review |
Closes #738 #1990
Related to
Proposed Changes
Route metadata allows Ocelot users to add custom functions that solve ad-hoc requirements or maybe write their plugins/extensions.
The new configuration will look like:
Now, the metadata is available in the
DownstreamRoute
object