Re: Serialization with optional fields using C++ library

2021-12-22 Thread John McClean
according to my code. > > Is there any test that checks full cycle of serialization/deserialization > process with json/schema provided? > > > > > > *From:* Martin Grigorov [mailto:mgrigo...@apache.org] > *Sent:* Wednesday, December 22, 2021 3:24 PM > *To:* user@avro

RE: Serialization with optional fields using C++ library

2021-12-22 Thread Anton
, December 22, 2021 3:24 PM To: user@avro.apache.org Subject: Re: Serialization with optional fields using C++ library Hi Anton, I don't see any unit tests / examples for this at https://github.com/apache/avro/tree/master/lang/c%2B%2B/ test|examples, so I guess it is not implemented yet

Re: Serialization with optional fields using C++ library

2021-12-22 Thread Martin Grigorov
Hi Anton, I don't see any unit tests / examples for this at https://github.com/apache/avro/tree/master/lang/c%2B%2B/ test|examples, so I guess it is not implemented yet. You could add an entry for basicSchemas (

Serialization with optional fields using C++ library

2021-12-22 Thread Anton
Hello, I have problem with serialization of data having optional fields. When I pass null in corresponding field it works but when it is non-null then serialization fails. Schema: { "type": "record", "name": "schema", "namespace": "space",