google / go-dap

Go implementation of the Debug Adapter Protocol
Apache License 2.0
127 stars 22 forks source link

Fix type aliases being emitted as pointers. #81

Closed rehmsen closed 1 year ago

rehmsen commented 1 year ago

This fixes an unintentional change from #75. Type aliases to primitives (like string) do not need to be pointers, because their zero values will be omitted during JSON serialization if omitempty is set.

As this is a bug fix for a released version, I have opted to not restructure the code much to minimize duplicate deserializations.

Fixes #80