[
https://issues.apache.org/jira/browse/AVRO-3001?focusedWorklogId=804766&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-804766
]
ASF GitHub Bot logged work on AVRO-3001:
----------------------------------------
Author: ASF GitHub Bot
Created on: 30/Aug/22 09:57
Start Date: 30/Aug/22 09:57
Worklog Time Spent: 10m
Work Description: martin-g commented on code in PR #1833:
URL: https://github.com/apache/avro/pull/1833#discussion_r958272425
##########
lang/csharp/src/apache/main/IO/Encoder.cs:
##########
@@ -187,5 +187,10 @@ public interface Encoder
/// <param name="start">Position within data where the contents
start.</param>
/// <param name="len">Number of bytes to write.</param>
void WriteFixed(byte[] data, int start, int len);
+
+ /// <summary>
+ /// Flushes the encoder.
+ /// </summary>
+ void Flush();
Review Comment:
So, this PR could be merged as is only in 1.12.0.
For branch-1.11 we should cherry-pick the squashed commit from `master`,
remove this method and add an extra commit, right ?
Issue Time Tracking
-------------------
Worklog Id: (was: 804766)
Time Spent: 10h 20m (was: 10h 10m)
> JsonEncode Decode support for C#
> --------------------------------
>
> Key: AVRO-3001
> URL: https://issues.apache.org/jira/browse/AVRO-3001
> Project: Apache Avro
> Issue Type: Improvement
> Components: csharp
> Affects Versions: 1.10.0, 1.11.0
> Reporter: Krishnan Unni
> Assignee: Robert Yokota
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.12.0
>
> Time Spent: 10h 20m
> Remaining Estimate: 0h
>
> The C# library for avro currently supports only the Binary encoding and also
> with compile time types (Generic support only). As part of a project I am
> doing I need to validate the avro schema against the incoming json data on
> the fly without a predefined type (generated class). So basically comparing
> an avro schema (string/json representation) against a raw json string. It is
> possible with the Java library since it supports both non generic types and
> streams as well as json encoding. With C# currently this is not possible. Is
> there a plan to extend the C# library to provide these features? If yes, is
> there a timeline? If not is there any alternative to achieve this?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)