Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Use bespoke SignalR mapping code #23

Merged

Conversation

333fred
Copy link
Member

@333fred 333fred commented Oct 4, 2024

OpenAPI doesn't do the best job of representing how messagepack actually packs the objects we receive from SignalR. Rather than generating mappings, I've just written some plain-old mapping code that goes from messagepack to the definitions that we use through the rest of the app. docs/fms/Hub Documentation.md is the reference for the precise layout of the structures here.

OpenAPI doesn't do the best job of representing how messagepack actually packs the objects we receive from SignalR. Rather than generating mappings, I've just written some plain-old mapping code that goes from messagepack to the definitions that we use through the rest of the app. `docs/fms/Hub Documentation.md` is the reference for the precise layout of the structures here.
@333fred 333fred requested a review from bherbst October 4, 2024 05:00
Copy link
Collaborator

@bherbst bherbst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked against current FMS build I have and is working well ✅

@333fred 333fred merged commit 10dfa76 into FIRST-Robotics-Competition:dev Oct 4, 2024
1 check passed
@333fred 333fred deleted the bespoke-signalr-types branch October 4, 2024 15:11
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.

2 participants