We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello folks
Here in this method
kafkaflow/src/KafkaFlow.Serializer.JsonCore/JsonCoreSerializer.cs
Line 33 in 50352b3
We can change the code from
public Task SerializeAsync(object message, Stream output, ISerializerContext context) { using var writer = new Utf8JsonWriter(output); JsonSerializer.Serialize(writer, message, this.options); return Task.CompletedTask; }
to
public async Task SerializeAsync(object message, Stream output, ISerializerContext context) { await JsonSerializer.SerializeAsync(output, message, this.options) .ConfigureAwait(false); }
and in the background it uses Utf8Writer
preferred way:
Yes
No response
The text was updated successfully, but these errors were encountered:
filipeesch
No branches or pull requests
Is your request related to a problem you have?
Hello folks
Here in this method
kafkaflow/src/KafkaFlow.Serializer.JsonCore/JsonCoreSerializer.cs
Line 33 in 50352b3
We can change the code from
to
and in the background it uses Utf8Writer
Describe the solution you'd like
preferred way:
Are you able to help bring it to life and contribute with a Pull Request?
Yes
Additional context
No response
The text was updated successfully, but these errors were encountered: