Skip to content

Align use of sendInvalidate request arguments - #1402

Merged
Andrew Wang (WardenGnaw) merged 5 commits into
microsoft:mainfrom
iAbadia:fix-sendinvalidate-req-args
Jun 28, 2023
Merged

Align use of sendInvalidate request arguments#1402
Andrew Wang (WardenGnaw) merged 5 commits into
microsoft:mainfrom
iAbadia:fix-sendinvalidate-req-args

Conversation

@iAbadia

Copy link
Copy Markdown
Contributor

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 Sergey Bobko (@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
Copy Markdown
Contributor Author

Tagging Andrew Wang (@WardenGnaw) since they reviewed the original sendInvalidate request pr.

Comment thread src/OpenDebugAD7/AD7DebugSession.cs Outdated
Comment thread src/OpenDebugAD7/AD7DebugSession.cs Outdated
Iñaki (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
Andrew Wang (WardenGnaw) merged commit c8c71f3 into microsoft:main Jun 28, 2023
@WardenGnaw

Copy link
Copy Markdown
Member

Iñaki (@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