You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This may be an overkill suggestion, but as it doesn't seem possible (or easy) to add route prefixes to third-party controllers, I decided to convert them to minimal API methods. This may allow more user flexibility, if for some reason a user may require more configuration beyond customizing the route prefix.
Example for POST /objects/batch:
*Note: BasicAuthEndpointFilter is just a copy of the already existing BasicAuthFilter, converted to implement IEndpointFilter instead of IAsyncActionFilter.
I would be happy to submit a PR, but always like asking in Issues before bothering to do so.
The text was updated successfully, but these errors were encountered:
Update: My project which had a problem this proposal was intended to address has fallen out of scope for what I believe the intent of this library was. As such, I have decided to wrap the git-lfs API on my own terms without expecting a third-party library to bow to my will. You are free to still follow up on this as desired, but I do not have any plans to PR or expect a change of this magnitude.
This may be an overkill suggestion, but as it doesn't seem possible (or easy) to add route prefixes to third-party controllers, I decided to convert them to minimal API methods. This may allow more user flexibility, if for some reason a user may require more configuration beyond customizing the route prefix.
Example for
POST /objects/batch
:*Note:
BasicAuthEndpointFilter
is just a copy of the already existingBasicAuthFilter
, converted to implementIEndpointFilter
instead ofIAsyncActionFilter
.I would be happy to submit a PR, but always like asking in Issues before bothering to do so.
The text was updated successfully, but these errors were encountered: