You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For trigger payloads of collection type(ex: event hub trigger payload with batched messages), host will skip empty entries by default. We recently made a host level change so that host will not skip empty entries if worker includes IncludeEmptyEntriesInMessagePayload capability when advertising the capability list to host. The dotnet worker was updated to send this capability if user opts in for that(In the next major version, we will enable it by default). node worker should consider making similar change.
The text was updated successfully, but these errors were encountered:
Specifically, I'm confused how it would handle the placeholder specialization scenario where the worker gets an initRequest with a dummy app and later a functionEnvironmentReloadRequest with the real app. AFAIK the only time we can set worker capabilities is during worker init, right? So seems like for placeholders the user would have no way to set these options
ejizba
changed the title
Send IncludeEmptyEntriesInMessagePayload capability to host to get empty entries in payload
Allow users to specify IncludeEmptyEntriesInMessagePayload capability
May 24, 2023
Once that is merged, the library would actually be able to expose this particular capability to users if we want to, so moving the issue to the library repo.
For trigger payloads of collection type(ex: event hub trigger payload with batched messages), host will skip empty entries by default. We recently made a host level change so that host will not skip empty entries if worker includes
IncludeEmptyEntriesInMessagePayload
capability when advertising the capability list to host. The dotnet worker was updated to send this capability if user opts in for that(In the next major version, we will enable it by default). node worker should consider making similar change.The text was updated successfully, but these errors were encountered: