Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[@azure/event-hubs] Adding disableDeserialization option when subscribing #18173

Merged
merged 14 commits into from
Oct 28, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[@Azure/event-hubs] Chores on documentation
marcodalessandro committed Oct 23, 2021
commit 567d40857d61b67cb081a0661cdf93cd97a5d1fa
2 changes: 1 addition & 1 deletion sdk/eventhub/event-hubs/src/dataTransformer.ts
Original file line number Diff line number Diff line change
@@ -75,7 +75,7 @@ export const defaultDataTransformer = {
* indicating which part of the AMQP message the body was decoded from.
*
* @param body - The AMQP message body as received from rhea.
* @param skipJsonParsingContent - Boolean to disable automatic JSON parsing when receiving a string in the event body.
* @param skipJsonParsingContent - Boolean to skip running JSON.parse() on message body when body type is `content`.
* @returns The decoded/raw body and the body type.
*/
decode(
2 changes: 1 addition & 1 deletion sdk/eventhub/event-hubs/src/eventData.ts
Original file line number Diff line number Diff line change
@@ -156,7 +156,7 @@ const messagePropertiesMap = {
/**
* Converts the AMQP message to an EventData.
* @param msg - The AMQP message that needs to be converted to EventData.
* @param skipJsonParsingContent - Boolean to disable automatic JSON parsing when receiving a string in the event body.
* @param skipJsonParsingContent - Boolean to skip running JSON.parse() on message body when body type is `content`.
* @hidden
*/
export function fromRheaMessage(