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

[Feature]: <Ignore struct fields with Option::None as value when encoding> #100

Open
1 task done
miralandlabs opened this issue Jan 21, 2024 · 0 comments
Open
1 task done
Labels
enhancement New feature or request

Comments

@miralandlabs
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Description

Can ciborium provide a switch to tell cbor to encode a struct field or completely ignore the field when a field value is Option::None which is encoded as null by default? Thanks.

Acceptance Criteria

No response

Suggestions for a technical implementation

No response

@miralandlabs miralandlabs added the enhancement New feature or request label Jan 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant