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

Align use of sendInvalidate request arguments #1402

Merged
merged 5 commits into from
Jun 28, 2023

Conversation

iAbadia
Copy link
Contributor

@iAbadia iAbadia commented May 21, 2023

Using the sendInvalidate request I realised that I was forced to provide a single Area as an argument. This PR aligns the behaviour of sendInvalidate request with the invalidate event.

Thanks to @sbobko for his original contribution, I only hope this patch doesn't contradict the original intent of the behaviour of sendInvalidate

- sendInvalidate request arguments now behave like invalidate event.
  - Areas is an array of strings.
  - Areas can be empty, in this case client should assume 'all'.
@iAbadia
Copy link
Contributor Author

iAbadia commented May 25, 2023

Tagging @WardenGnaw since they reviewed the original sendInvalidate request pr.

src/OpenDebugAD7/AD7DebugSession.cs Outdated Show resolved Hide resolved
src/OpenDebugAD7/AD7DebugSession.cs Outdated Show resolved Hide resolved
iAbadia and others added 4 commits May 31, 2023 07:41
Allow sending an empty array of Areas.

Co-authored-by: Andrew Wang <waan@microsoft.com>
Use Collection instead of List

Co-authored-by: Andrew Wang <waan@microsoft.com>
@WardenGnaw WardenGnaw merged commit c8c71f3 into microsoft:main Jun 28, 2023
@WardenGnaw
Copy link
Member

@iAbadia Thank you for contributing this PR.

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