Skip to content

Add #[nullable] attribute alongside #[optional]#384

Merged
KodrAus merged 4 commits into
mainfrom
feat/nullable
Jun 20, 2026
Merged

Add #[nullable] attribute alongside #[optional]#384
KodrAus merged 4 commits into
mainfrom
feat/nullable

Conversation

@KodrAus

@KodrAus KodrAus commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Closes #380

This PR introduces a #[emit::nullable] attribute that works the same way as #[emit::optional], but produces nulls instead of omitting values.


AI Disclosure: This work was assisted by local agentic tooling. I’ve reviewed and further modified the result.

Comment thread macros/src/nullable.rs Outdated
@KodrAus KodrAus marked this pull request as ready for review June 19, 2026 22:19
@KodrAus KodrAus merged commit 2804ad6 into main Jun 20, 2026
68 checks passed
@KodrAus KodrAus deleted the feat/nullable branch June 20, 2026 04:42
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.

Add #[emit::nullable]

1 participant