Skip to content

[golang] Issue #435 References inside messageHeader not working #439

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Feb 18, 2017
Merged

[golang] Issue #435 References inside messageHeader not working #439

merged 1 commit into from
Feb 18, 2017

Conversation

billsegall
Copy link
Contributor

Generate the MessageHeader as though it was a composite as it's not compulsorarily standardized in the standard.

Provide an optimized separate MessageHeader for use when people follow the recommended MessageHeader as most people will do just that.

Fix to use the token.acceptableTypeName() rather than token.name(). In golang references had previously been worked around for sets/choices/composites but not MessageHeaders. This makes them all work the same way and more properly but it does introduce some minor changes to generated types.

Fix the tests, examples and benchmarks to reflect these changes, adding an issue435.xml for testing with test code to match.

Fix the java interop test which used the sbe-samples example-schema which has now been modified. This also causes the bigendian test to be revised.

Documentation updates to match.

Generate the MessageHeader as though it was a composite as it's not compulsorarily standardized in the standard.

Provide an optimized separate MessageHeader for use when people follow the recommended MessageHeader as most people will do just that.

Fix <ref tags> to use the underlying type find token.acceptableTypeName() rather than token.name(). In golang references had previously been worked around for sets/choices/composites but not MessageHeaders. This makes them all work the same way and more properly but it does introduce some monor changes to generated types.

Fix the tests, examples and benchmarks to reflect these changes, adding an issue435.xml for testing with test code to match.

Fix the java interop test which used the sbe-samples example-schema which has now been modified. This also causes the bigendian test to be revised.

Documentation updates to match.
@tmontgomery tmontgomery merged commit 00cf8d6 into aeron-io:master Feb 18, 2017
@billsegall billsegall deleted the golang-issue-435 branch February 18, 2017 03:26
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants