thinktecture-labs / cloud-native-sample

Sample application to demonstrate how to build, orchestrate, and automate a polyglot cloud-native application
MIT License
32 stars 11 forks source link

[dapr] Address deprecation of default Content-Type header #112

Closed ThorstenHans closed 1 year ago

ThorstenHans commented 1 year ago

Dapr will no longer set Content-Type header to application/json by default for service invocation.

We have to update all places where we user dapr service invocation.

[DEPRECATION NOTICE] Adding a default content type to incoming service invocation requests is deprecated and will be removed in the future. 
See https://docs.dapr.io/operations/support/support-preview-features/ for more details.

See https://docs.dapr.io/operations/support/support-preview-features/

ThorstenHans commented 1 year ago

we use service invocation in two places. Both were updated with 073042a