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

OSOE-646: Remove CustomEditAsync #42

Merged
merged 8 commits into from
Nov 29, 2023
Merged

OSOE-646: Remove CustomEditAsync #42

merged 8 commits into from
Nov 29, 2023

Conversation

wAsnk
Copy link
Member

@wAsnk wAsnk commented Nov 27, 2023

OSOE-646
Fixes #30


namespace Lombiq.OrchardCoreApiClient;

public class ApiClientBase<T> : IDisposable
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not an abstract class (it shouldn't be) so the *Base name is not appropriate. You can name it e.g. just ApiClient. Also, use a less generic name for the type parameter, like TApi.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The non-generic ApiClient should remain, that's still useful as a default.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...still named ApiClient.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you mean?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is named ApiClient

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The non-generic client is named OrchardCoreApiClient, it should be ApiClient (since this is a usual pattern and also would prevent adding a breaking change).

Lombiq.OrchardCoreApiClient/ApiClient.cs Show resolved Hide resolved
Lombiq.OrchardCoreApiClient/ApiClient.cs Outdated Show resolved Hide resolved
Readme.md Show resolved Hide resolved
Copy link
Member

@Piedone Piedone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Piedone Piedone merged commit e80a011 into dev Nov 29, 2023
1 check passed
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.

Remove CustomEditAsync (OSOE-646)
2 participants