-
-
Notifications
You must be signed in to change notification settings - Fork 52
Description
Hi, we have a bug, that (at least for enums) we thought was fixed.
If we use the same class, enum or record in different fields of a message like this:
`
public class OrderMessage
{
public Address Address1 {get; set;}
public Address Address2 {get; set;}
}
public class Address
{
public string Street {get; set;}
}
`
then we get the following error when trying to produce a message:
System.Exception: Can not resolve JsonSchema 'type' id of "record", not recognized as one of standard values: [STRING, NUMBER, INTEGER, BOOLEAN, OBJECT, ARRAY, NULL, ANY] at <StartupCode$Pulsar-Client>.$ProducerImpl.-ctor@480-55.MoveNext() at <StartupCode$Pulsar-Client>.$ProducerImpl.InitInternal@785.MoveNext() at <StartupCode$Pulsar-Client>.$ProducerImpl.Init@793.MoveNext() at <StartupCode$Pulsar-Client>.$PulsarClient.CreateProducerAsync@262.MoveNext()
There has been a similar issue: #201 that was originally fixed by a coworker.
We are wondering what can cause this to be back.
We use Pulsar Server Version 2.9.2; pulsar-client-dotnet 2.15.0
Thanks in advance