Closed corneliusweig closed 1 year ago
Thanks for reporting and fixing this bug!
cmd/gentypes/gentypes.go
is used to generate schematypes.go
so that will need to be updated as well.
Hi @corneliusweig! Just marked this as ready for review so that we can get this change in.
Thank you @suzmue for adding the missing bits!
Currently, an empty breakpoint contains a
"source"
field with an empty object:This means that
BreakpointEvent
types with missing source are serialised with an empty source object, which clears the breakpoint location in the UI.This change makes the
"source"
field optional, so that an empty breakpoint serialises as:Fixes #66