Skip to content

Conversation

@swapnil-nagar
Copy link
Contributor

@swapnil-nagar swapnil-nagar commented Oct 14, 2025

This PR introduces support for SDK binding through modelBindingData and collectionModelBindingData parameters in the Azure Functions Node.js library, along with ServiceBus trigger enhancements.

Key Changes
Core RPC Data Conversion Enhancement
Added modelBindingData support: Enhanced fromRpcTypedData to handle individual model binding data objects with automatic client creation through ResourceFactoryResolver

Added collectionModelBindingData support: Added support for collections of model binding data objects, processing the first item in the collection as the source
Error handling: Comprehensive error handling with user-friendly messages when extensions library is not registered
Resource factory integration: Integration with @azure/functions-extensions-base for automatic SDK client creation

ServiceBus Trigger Enhancements
Type flexibility: Updated ServiceBusQueueHandler to accept unknown | any for broader message type compatibility
Auto-complete control: Added autoCompleteMessages option for controlling automatic message completion
SDK binding flag: Added sdkBinding boolean option for enabling SDK-based operations

* Adding ServiceBus Trigger Chnages

* Adding ServiceBus Trigger Chnages

* Fixing the unit tests and version update

* Staging the new veriosn
* Adding ServiceBus Trigger Chnages

* Adding ServiceBus Trigger Chnages

* Fixing the unit tests and version update

* Staging the new veriosn
@swapnil-nagar swapnil-nagar changed the title V4.x preview SDK Binding GA Changes Oct 14, 2025
@swapnil-nagar swapnil-nagar marked this pull request as ready for review October 14, 2025 05:56
@swapnil-nagar swapnil-nagar requested a review from a team as a code owner October 14, 2025 05:56
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.

1 participant