Skip to content
Discussion options

You must be logged in to vote

Also, when poking to find other areas where this issue may exist, I noticed that the Rabbit MQ portal has the same problem as the GRPC portal because it has the exact same Deserialize method that is called in the same way.

However, the issue has been correctly addressed by the code in the HTTP portal which instead has two distinct methods for deserialization:

    private T? Deserialize<T>(byte[] data)
    {
      var deserializedData = _applicationContext.GetRequiredService<ISerializationFormatter>().Deserialize(data);
      return (T?)deserializedData;
    }

    private T DeserializeRequired<T>(byte[] data)
    {
      return Deserialize<T>(data) ?? throw new SerializationException(Reso…

Replies: 3 comments 11 replies

Comment options

You must be logged in to vote
4 replies
@Chicagoan2016
Comment options

@rockfordlhotka
Comment options

@b-higginbotham
Comment options

@b-higginbotham
Comment options

Comment options

You must be logged in to vote
5 replies
@b-higginbotham
Comment options

@rockfordlhotka
Comment options

@rockfordlhotka
Comment options

@streagan123
Comment options

@b-higginbotham
Comment options

Comment options

You must be logged in to vote
2 replies
@rockfordlhotka
Comment options

@b-higginbotham
Comment options

Answer selected by b-higginbotham
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants