Closed christian-schulze closed 1 year ago
Is there an example in the generation code where this kind of thing has been done before?
Yes! gendata.go specifically contains a lot of the code to manually fix quirky errors like these.
Ideally, I would love to have the generator itself figure out rather than manually going through functions over time, but overriding it manually is probably the easiest way to do it.
Yes! gendata.go specifically contains a lot of the code to manually fix quirky errors like these.
Ideally, I would love to have the generator itself figure out rather than manually going through functions over time, but overriding it manually is probably the easiest way to do it.
Thanks for the tip @diamondburned, will give this a shot this evening.
On building I get the following error:
SearchEntry
has anEditable
field struct which has anEditable
function, but thatEditable
function should exist onSearchEntry
instead.This looks like a name collision issue,
Editable
struct vsEditable
function attached toEditable
struct.I'd love to have a go at fixing this myself but so far have been unable to figure out where to override this. I believe the fix should be to rename the
Editable
field onSearchEntry
to something else.Is there an example in the generation code where this kind of thing has been done before?