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

The JSON payload is not remembered when invoking Dapr application again #114

Closed
v-ruizh opened this issue Aug 28, 2020 · 1 comment
Closed
Labels
AT-CTI Issues found by internal test team

Comments

@v-ruizh
Copy link

v-ruizh commented Aug 28, 2020

OS: Win10
Build Version: 20200827.4

Repro Steps:

  1. Open a webapi project in VS Code.
  2. F1 -> Dapr: Scaffold Dapr Tasks -> .NET Core Launch (web) -> Enter a Dapr ID 'app' for the application -> Enter the port '5000'.
  3. Open the "Controllers/WeatherForecastController.cs" file.
  4. Add the following within the class definition:
[HttpPost]
public ActionResult Post([FromBody] object body)
{
  return new JsonResult(body);
}
  1. Switch to the debug tab and change the configuration to '.NET Core Launch (web) with Dapr', then F5.
  2. F1 -> Dapr: Invoke (POST) Application Method -> Enter "WeatherForecast" as the application method -> Enter "{ "number": 42 }" as the JSON payload.
  3. F1 -> Dapr: Invoke (POST) Application Method again -> Check the default JSON payload.

Expect:
The default JSON payload is remembered with "{ "number": 42 }".
image

Actual:
The default JSON payload is 'WeatherForecast', the JSON payload is not remembered.
image

More Info:
This issue does not reproduce on the previous released extension build.

@v-ruizh v-ruizh added the AT-CTI Issues found by internal test team label Aug 28, 2020
@philliphoff
Copy link
Collaborator

This is the same symptom as #109, now fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AT-CTI Issues found by internal test team
Projects
None yet
Development

No branches or pull requests

2 participants