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

Feat/add methods to root of numbers #81

Merged
merged 8 commits into from
Aug 20, 2024

Conversation

Dovchik
Copy link
Contributor

@Dovchik Dovchik commented Aug 1, 2024

Add available and active numbers to root of Numbers client.
Leaving added methods as obsolete in own tag for backward compatibility.

Copy link

@asein-sinch asein-sinch left a comment

Choose a reason for hiding this comment

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

Can you also update the tests to reflect the deprecation of the Available and Active domains?

@Dovchik Dovchik requested a review from asein-sinch August 2, 2024 11:12
@@ -91,7 +101,9 @@ public ActiveNumbers(string projectId, Uri baseAddress,
_http = http;
}

public Task<ListActiveNumbersResponse> List(ListActiveNumbersRequest request, CancellationToken cancellationToken = default)

public Task<ListActiveNumbersResponse> List(ListActiveNumbersRequest request,

Choose a reason for hiding this comment

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

I'm curious about why the formatting changed as there is no configuration change in this PR. Is it linked to the IDE? I just want to make sure this is intentional and won't be reverted by an auto-formatting in another PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Auto formatted by IDE agnostic dotnet format

@@ -25,6 +35,42 @@ public interface ISinchNumbers
/// release numbers from projects, or list all numbers assigned to a project.
/// </summary>
public ISinchNumbersActive Active { get; }

Choose a reason for hiding this comment

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

You may also mark this as obsolete before changing the visibility in the next major

@Dovchik Dovchik requested a review from asein-sinch August 19, 2024 16:18
@Dovchik Dovchik merged commit fd0a7bb into main Aug 20, 2024
3 checks passed
@Dovchik Dovchik deleted the feat/add-methods-to-root-of-numbers branch August 20, 2024 11:01
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