ergo-services / ergo

An actor-based Framework with network transparency for creating event-driven architecture in Golang. Inspired by Erlang. Zero dependencies.
https://docs.ergo.services
MIT License
3.51k stars 138 forks source link

Problem with ETF encoding nested pointer on a value #65

Closed halturin closed 3 years ago

halturin commented 3 years ago

example struct

type Problem struct {
    A *string
}

Erlang report the problem

'erl-demo@127.0.0.1' got a corrupted external term from 'demo@127.0.0.1' on distribution channel 8761
<<...,104,2,114,0,3,119,18,101,114,108,45,100,101,109,111,64,49,50,55,46,48,46,48,46,49,1,0,2,230,86,210,84,0,2,114,149,227,88,116,0,0,0,1,119,1,65>>
ATOM_CACHE_REF translations: none