microsoft-graph-explorer-v4 icon indicating copy to clipboard operation
microsoft-graph-explorer-v4 copied to clipboard

Fix: Update a Code snippet when request body is updated

Open ElinorW opened this issue 3 years ago • 8 comments

Overview

Fixes #1935 Update snippet when request body is updated

Testing Instructions

  • Navigate to Applications
  • Select 'POST create a new application
  • Observe Code snippets tab ( e.g. C#)
  • Update request body
  • Click on a different Code snippet (e.g. JavaScript)
  • Observe updated request body object.

ElinorW avatar Jul 20 '22 12:07 ElinorW

Azure Static Web Apps: Your stage site is ready! Visit it here: https://jolly-sand-0ac78c710-1945.centralus.azurestaticapps.net

github-actions[bot] avatar Jul 20 '22 12:07 github-actions[bot]

Good stuff! There's a small regression on the request method. It does not change when you click on the samples.

Yikes, I'll have a look at this

ElinorW avatar Jul 21 '22 14:07 ElinorW

Good stuff! There's a small regression on the request method. It does not change when you click on the samples.

Yikes, I'll have a look at this

Hey @Onokaev , I'm unable to reproduce this. Can you confirm if it's still the case?

ElinorW avatar Jul 25 '22 11:07 ElinorW

Good stuff! There's a small regression on the request method. It does not change when you click on the samples.

Yikes, I'll have a look at this

Hey @Onokaev , I'm unable to reproduce this. Can you confirm if it's still the case?

Yes. Try clicking POST or PATCH samples under Applications. The request method does not change

Onokaev avatar Jul 25 '22 12:07 Onokaev

Azure Static Web Apps: Your stage site is ready! Visit it here: https://jolly-sand-0ac78c710-1945.centralus.azurestaticapps.net

github-actions[bot] avatar Aug 03 '22 12:08 github-actions[bot]

Azure Static Web Apps: Your stage site is ready! Visit it here: https://jolly-sand-0ac78c710-1945.centralus.azurestaticapps.net

github-actions[bot] avatar Aug 03 '22 13:08 github-actions[bot]

Upon further research, I noticed the code snippet will update when a user run's the query. Therefore, I am not quite sure if there is a broken experience here

ElinorW avatar Aug 04 '22 13:08 ElinorW