-
Notifications
You must be signed in to change notification settings - Fork 1.1k
JObject transport integer replacements #4463
New issue
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
Comments
@mrn-aglic would you mind posting a small reproduction sample of the POCOs so we can see what exactly the input is? |
@Aaronontheweb I published the example project here: Not finished, and may have some bugs. To start the ClusterBackend: To start asp app TO test once everything is started, go to api: Relevant actors:
|
Closing this - looks like we do it by design, per this comment: |
Not sure if this is by design. But could use some help.
I'm using Akka, Akka.Cluster and Akka.Cluster.Tools version 1.4.7.
Using Newtonsoft.Json 12.0.3.
I'm using Akka.NET with .Net Core 3.1 on a OS X laptop.
I wanted to integrate an example web api that would use ClusterClient to communicate with a Cluster. The issue I have is passing a JObject from Cluster to the API project (ClusterClient to be more specific). As I can see the integers are replaced with JObjects
Json looks normal on the Cluster end produced with JObject.FromObject(some_object).
I assume that this is the default behaviour for network transporation. However, I have not found mention of it in the docs, nor an example on how to handle it.
Additionally, I don't understand why integers needed to be replaced.
I'm using ClusterClinet.Ask(...) to get the object. The "problem" is not in the wrapper class, as the same thing happens when receiving JObject without it.
The text was updated successfully, but these errors were encountered: