Skip to content
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

Use AddPermissionProvider & AddNavigationProvider in OpenID #16960

Merged
merged 5 commits into from
Nov 11, 2024

Conversation

hishamco
Copy link
Member

@hishamco hishamco commented Nov 6, 2024

No description provided.

@MikeAlhayek
Copy link
Member

Can you please do the same thing everywhere so we don't have 1 PR per file?

https://github.com/search?q=repo%3AOrchardCMS%2FOrchardCore+ServiceDescriptor.Scoped%3C&type=code

@hishamco
Copy link
Member Author

hishamco commented Nov 6, 2024

The aim is not to replace the ServiceDescriptor in this PR but to use the extension methods when it's possible

@hishamco
Copy link
Member Author

hishamco commented Nov 6, 2024

These are the only not updated in the code base

@MikeAlhayek
Copy link
Member

To make this PR more useful, I suggest to replace all these

https://github.com/search?q=repo%3AOrchardCMS%2FOrchardCore+services.TryAddEnumerable&type=code

this way we don't see many PR like this doing the same thing just for another service.

@hishamco
Copy link
Member Author

hishamco commented Nov 6, 2024

Just one thing I'm afraid of is to break existing behavior coz TryAddXXX is not similar to AddXXX

@MikeAlhayek MikeAlhayek merged commit 34c7a26 into main Nov 11, 2024
7 checks passed
@MikeAlhayek MikeAlhayek deleted the hishamco/openid branch November 11, 2024 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants