René's URL Explorer Experiment


Title: Allow Azure Functions Durable 2.x apps to opt in to JsonDataConverter · Issue #249 · microsoft/durabletask-python · GitHub

Open Graph Title: Allow Azure Functions Durable 2.x apps to opt in to JsonDataConverter · Issue #249 · microsoft/durabletask-python

X Title: Allow Azure Functions Durable 2.x apps to opt in to JsonDataConverter · Issue #249 · microsoft/durabletask-python

Description: Summary Add an app-wide opt-in for new azure-functions-durable 2.x applications to use durabletask.serialization.JsonDataConverter instead of the default Functions-compatible converter. Proposed usage: from durabletask.serialization impo...

Open Graph Description: Summary Add an app-wide opt-in for new azure-functions-durable 2.x applications to use durabletask.serialization.JsonDataConverter instead of the default Functions-compatible converter. Proposed us...

X Description: Summary Add an app-wide opt-in for new azure-functions-durable 2.x applications to use durabletask.serialization.JsonDataConverter instead of the default Functions-compatible converter. Proposed us...

Opengraph URL: https://github.com/microsoft/durabletask-python/issues/249

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allow Azure Functions Durable 2.x apps to opt in to JsonDataConverter","articleBody":"## Summary\n\nAdd an app-wide opt-in for new `azure-functions-durable` 2.x applications to use `durabletask.serialization.JsonDataConverter` instead of the default Functions-compatible converter.\n\nProposed usage:\n\n```python\nfrom durabletask.serialization import JsonDataConverter\n\napp = df.DFApp(data_converter=JsonDataConverter())\n```\n\nKeep `FunctionsDataConverter` as the default for v1 compatibility.\n\n## Motivation\n\n`azure-functions-durable` 2.x is built on `durabletask`, but currently hardcodes `FunctionsDataConverter` across workers, bound clients, compatibility wrappers, testing helpers, and activity binding conversion. New durabletask-native applications should be able to select durabletask's plain-JSON, type-directed serialization model consistently across every payload boundary.\n\n## Design constraints\n\n- The setting must be function-app/process-wide, not per function or blueprint. Azure Functions uses one mutable binding-converter registry per Python worker process.\n- Blueprints can be constructed before `DFApp`, so workers created during decoration must observe the later app-level selection.\n- Activity input/output conversion happens in `ActivityTriggerConverter`, outside the durabletask worker pipeline. It must use the same converter as orchestrators, entities, and clients.\n- The Functions worker does not pass activity parameter types to converter `decode()`. Activity wrappers must retain the original resolved type hint and apply converter coercion after binding decode.\n- Only converters producing valid JSON are compatible with the activity binding wire contract. Initially restrict the option to `JsonDataConverter` subclasses or validate this contract explicitly.\n- Preserve the activity converter's existing raw-string fallback.\n- Conflicting app configurations in one process should fail immediately; repeated equivalent configuration should be idempotent.\n\nA process-wide delegating `DataConverter` proxy is one possible implementation. Existing workers and cached clients can retain the stable proxy while `DFApp` selects its delegate before invocation.\n\n## Compatibility and migration safety\n\nThis opt-in should be documented for new task hubs only.\n\nThe current Functions codec can emit custom-object envelopes containing `__class__`, `__module__`, and `__data__`. `JsonDataConverter` emits plain JSON and does not reconstruct those envelopes. Switching an existing task hub can therefore break orchestration replay and persisted entity state. Entities may be long-lived and cannot simply be allowed to drain.\n\nWhen the opt-in encounters a Functions custom-object envelope, it should fail loudly rather than silently returning the envelope as an ordinary dictionary.\n\nThe feature is primarily for durabletask-native authoring. V1-style activity calls that do not supply a result type may receive dictionaries for custom outputs under `JsonDataConverter`; document this limitation or provide an explicit typed path.\n\n## Implementation surfaces\n\n- `azure.durable_functions.decorators.DFApp` and `Blueprint`\n- `DurableFunctionsWorker`\n- `DurableFunctionsClient` and `SyncDurableFunctionsClient`, including the process-wide sync-client cache\n- `ActivityTriggerConverter`\n- v1 orchestration/entity compatibility contexts\n- entity testing helpers and other import-time converter captures\n- built-in scheduled-task, history-export, and Durable HTTP registrations\n- public documentation and `azure-functions-durable/CHANGELOG.md`\n\n## Acceptance criteria\n\n- `DFApp(data_converter=JsonDataConverter())` consistently applies the converter to client, orchestration, activity, entity, event, custom-status, and persisted-state payloads.\n- Existing apps without the option retain current serialization behavior.\n- Blueprints created before the app still use the selected converter.\n- Conflicting process-wide selections fail with a clear error.\n- Functions custom-object envelopes fail clearly under the opt-in.\n- Activity raw-string fallback remains supported.\n- Unit tests cover all serialization boundaries, compatibility wrappers, cached clients, configuration conflicts, and cross-format behavior.\n- An end-to-end test round-trips typed dataclasses through client, orchestrator, activity, and entity paths.\n- Documentation warns users to select the converter before creating data in a task hub and explains v1-style limitations.","author":{"url":"https://github.com/andystaples","@type":"Person","name":"andystaples"},"datePublished":"2026-07-30T21:52:54Z","url":"https://github.com/microsoft/durabletask-python/issues/249"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:248faf5e-cbaa-a660-d6bf-27a5a3a6018f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE1BE:36768A:9691AA:D48B44:6AFE1E88
html-safe-nonce6c8ef55ddaf3fceedb8fbcace8ebe60addf84a589ae34329343496bd4ccdbbae
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMUJFOjM2NzY4QTo5NjkxQUE6RDQ4QjQ0OjZBRkUxRTg4IiwidmlzaXRvcl9pZCI6IjM5NDU1MTYyNjAyMzc2NDc0OTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac4b30c60da0dfbb952fa0d7372dd7ea490913e77bf56d6ea4dd8742d7e3dedf59
hovercard-subject-tagissue:5024280444
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/durabletask-python/249/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3ede1e157b0af801e05476f3371150c99410055ea01f5cf3589621249ea1527c/microsoft/durabletask-python/issues/249
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3ede1e157b0af801e05476f3371150c99410055ea01f5cf3589621249ea1527c/microsoft/durabletask-python/issues/249
og:image:altSummary Add an app-wide opt-in for new azure-functions-durable 2.x applications to use durabletask.serialization.JsonDataConverter instead of the default Functions-compatible converter. Proposed us...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameandystaples
hostnamegithub.com
expected-hostnamegithub.com
Noned0525ab1464526bf4532a5551aa348cf100dff75ef808a96fc67a08b1d946aa9
turbo-cache-controlno-preview
go-importgithub.com/microsoft/durabletask-python git https://github.com/microsoft/durabletask-python.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id627664515
octolytics-dimension-repository_nwomicrosoft/durabletask-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id627664515
octolytics-dimension-repository_network_root_nwomicrosoft/durabletask-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasefef3993a71fa20f7be8e167132fbf9619bc66e12
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/durabletask-python/issues/249#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fdurabletask-python%2Fissues%2F249
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fdurabletask-python%2Fissues%2F249
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2Fdurabletask-python
Reloadhttps://github.com/microsoft/durabletask-python/issues/249
Reloadhttps://github.com/microsoft/durabletask-python/issues/249
Reloadhttps://github.com/microsoft/durabletask-python/issues/249
microsofthttps://github.com/microsoft
durabletask-pythonhttps://github.com/microsoft/durabletask-python
Codehttps://github.com/microsoft/durabletask-python
Issues15 (15)https://github.com/microsoft/durabletask-python/issues
Pull requests12 (12)https://github.com/microsoft/durabletask-python/pulls
Actionshttps://github.com/microsoft/durabletask-python/actions
Projectshttps://github.com/microsoft/durabletask-python/projects
Security and qualityhttps://github.com/microsoft/durabletask-python/security
Insightshttps://github.com/microsoft/durabletask-python/insights
https://github.com/microsoft/durabletask-python
New issuehttps://github.com/login?return_to=https://github.com/microsoft/durabletask-python/issues/249
New issuehttps://github.com/login?return_to=https://github.com/microsoft/durabletask-python/issues/249
Allow Azure Functions Durable 2.x apps to opt in to JsonDataConverterhttps://github.com/microsoft/durabletask-python/issues/249#top
enhancementNew feature or requesthttps://github.com/microsoft/durabletask-python/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com/andystaples
andystapleshttps://github.com/andystaples
on Jul 30, 2026https://github.com/microsoft/durabletask-python/issues/249#issue-5024280444
https://github.com/nachogarcia
Nacho García (nachogarcia)https://github.com/nachogarcia
on Oct 19, 2026https://github.com/microsoft/durabletask-python/issues/249#issuecomment-6265785600
andystapleshttps://github.com/andystaples
#269https://github.com/microsoft/durabletask-python/issues/269
#269https://github.com/microsoft/durabletask-python/issues/269
andystapleshttps://github.com/andystaples
enhancementNew feature or requesthttps://github.com/microsoft/durabletask-python/issues?q=state%3Aopen%20label%3A%22enhancement%22
on Nov 11, 2026https://github.com/microsoft/durabletask-python/issues/249#event-35834474753
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/durabletask-python/issues/249
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/durabletask-python/issues/249
enhancementNew feature or requesthttps://github.com/microsoft/durabletask-python/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.