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

Fix serialization issues for CacheStatus on dataset query response #53

Merged
merged 1 commit into from
Nov 30, 2023

Conversation

darach
Copy link
Contributor

@darach darach commented Nov 9, 2023

Fixes a serialization issue with CacheStatus in dataaset apl queries when cache status
is using a composite value that isn't a valid flag in the rust CacheStatus bitflag struct.

The underlying issue was that neither bitflags serialization ( maps to a string, is not wire
compatible with the axiom API which maps to an int ) not custom serialization work when
the cachestatus is a composite of multiple valid flags.

The resolution is to use an alternate marshalling method that is wire compatible and
represents and interprets the flags correctly.

Signed-off-by: Darach Ennis <darach@gmail.com>
@bahlo
Copy link
Member

bahlo commented Nov 30, 2023

ci is probably failing because the pr is coming from a fork. force-merging to verify

@bahlo bahlo merged commit 11c0897 into axiomhq:main Nov 30, 2023
4 of 8 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.

2 participants