Skip to content

Use string for custom status#47

Merged
sicoyle merged 3 commits intodapr:mainfrom
acroca:string-custom-status
Mar 12, 2026
Merged

Use string for custom status#47
sicoyle merged 3 commits intodapr:mainfrom
acroca:string-custom-status

Conversation

@acroca
Copy link
Member

@acroca acroca commented Mar 10, 2026

For consistency with other SDKs, we want to only support strings in the custom status field.

Ref: dapr/python-sdk#941

Signed-off-by: Albert Callarisa <albert@diagrid.io>
@acroca acroca requested a review from a team as a code owner March 10, 2026 12:59
Copy link

@sicoyle sicoyle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ping me when you've addressed the build failures and we can send this. Thank you!!!

acroca added 2 commits March 11, 2026 17:29
Signed-off-by: Albert Callarisa <albert@diagrid.io>
Signed-off-by: Albert Callarisa <albert@diagrid.io>
@acroca
Copy link
Member Author

acroca commented Mar 11, 2026

I realised this change will change how we store even strings, as they were saved with quotes because of the to_json. So this could be a potential breaking change if users expect those quotes. Thoughts?

@sicoyle
Copy link

sicoyle commented Mar 12, 2026

I realised this change will change how we store even strings, as they were saved with quotes because of the to_json. So this could be a potential breaking change if users expect those quotes. Thoughts?

expecting quotes here feels wrong. I am in favor of changing this. Thoughts @CasperGN ?

@CasperGN
Copy link

It is a breaking change but imo it's not a bad one. I'm in favor

Copy link

@sicoyle sicoyle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@sicoyle sicoyle merged commit cb97b43 into dapr:main Mar 12, 2026
7 checks passed
@acroca acroca deleted the string-custom-status branch March 13, 2026 09:31
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.

3 participants