why is mustMarshal() being used? why we don't define a struct for the expected output…
Jump to turn (15)
- 1why is mustMarshal() being used? why we don't define a struct for the expected o
- 2in compact package code, why is mustMarshal() being used? why we don't define a
- 3if marshalOrdered() is used, why does mustMarshal exist? if we're gonna order it
- 4yeah but why not do it in one go with a struct
- 5Multiple output shapes — emitUser, emitAssistant, buildToolResult, and user text
- 6yeah
- 7yeah
- 8why is v uppercase nwo?
- 9they weren't uppercase before for mustMarshal? why?
- 10//nolint:errcheck,errchkjson // string never fails is this necessary? any way to
- 11yeah just add the error checks. it's fine.
- 12Review the comments from pfleidi on https://github.com/entireio/cli/pull/788
- 13preprocess linePreprocessor what parameter?
- 14yeah
- 15// Options provides metadata fields written to every output line. type Options s
- User
why is
mustMarshal()being used? why we don't define a struct for the expected output format and marshal that in one go but are marshaling each value individually - User
in compact package code, why is
mustMarshal()being used? why we don't define a struct for the expected output format and marshal that in one go but are marshaling each value individually Assistant· claude-opus-4-6
Let me look at the code to answer this.
Assistant· claude-opus-4-6