-
Notifications
You must be signed in to change notification settings - Fork 45
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
Fix/enum representation types #184
Fix/enum representation types #184
Conversation
…and (de)serialisation + associated exceptions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! We should carry forward the following actions:
- Add "Endian" to spelling file
- Fix broken UTs and QL allerts
- Rub the formatter
Let me know if you need any assistance with, or wish to hand-off, any of these steps!
I fixed the spelling and the formatting. I also added a default argument |
It appears the tests are still failing. I will see if I can get it to work! |
@JackNWhite can you give maintainers allowances to update this PR? I have a fix for the UTs. |
@LeStarch, I'm terribly sorry for not responding over Christmas - I was almost computer-free. I will try to make your update this afternoon, but I have also given the maintainer access as requested. |
I can respect that. I do hope you enjoyed your time away from the computer! No rush on the updates, but I will keep my hands-off while you make the changes. Let me know if/when I should jump back in! |
@LeStarch, hi, is it possible to move this forward? I saw that @thomas-bc has opened a request for a release merge on fprime itself. If possible, I would like to get this into the wider package, because it has been open for some time. The related GDS PR is still open, but my understanding is that it was waiting on an alpha release of fprime-tools, which appears to be part of the fprime update. |
@JackNWhite thanks for pinging me. We are in the process of releasing and did want to get this in. I made a slight change to use the constant data out of the numerical_types classes instead of a second set of constant data to reduce redundancy. Tested it, works as expected. Thank you! |
Change Description
construct_type()
) forEnumType
Rationale
Required to support GDS (de)serialisation of enums represented by other types than I32.
Accompanying PRs