Skip to content

Add explicit FIX message build API#21

Merged
isaac-lee-apex merged 1 commit into
mainfrom
islee/allow-getting-new-bytes-from-changed-qfix-message
Apr 30, 2026
Merged

Add explicit FIX message build API#21
isaac-lee-apex merged 1 commit into
mainfrom
islee/allow-getting-new-bytes-from-changed-qfix-message

Conversation

@isaac-lee-apex

@isaac-lee-apex isaac-lee-apex commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

If you clone a message in quickfix, set a field, then call .Bytes(), it doesn't rebuild the message, so the bytes reflect an old version.
There's also a bug with CopyInto which doesn't preserve repeating fields properly.
This adds CopyIntoDeep as an option.
Purely additive.

Existing fix-router code in main uses CopyInto which does not preserve message bytes.
This is needed to fix that.

@isaac-lee-apex isaac-lee-apex merged commit d520d75 into main Apr 30, 2026
44 of 45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant