Skip to content

feat: Add validation for required fields in fbs files#11429

Merged
Wumpf merged 4 commits intorerun-io:mainfrom
Weijun-H:2634-detect-required-in-fbs
Oct 6, 2025
Merged

feat: Add validation for required fields in fbs files#11429
Wumpf merged 4 commits intorerun-io:mainfrom
Weijun-H:2634-detect-required-in-fbs

Conversation

@Weijun-H
Copy link
Copy Markdown
Contributor

@Weijun-H Weijun-H commented Oct 4, 2025

Related

Closes #2634

What

Panic during detection of required fields in fbs schema

Copy link
Copy Markdown
Member

@Wumpf Wumpf left a comment

Choose a reason for hiding this comment

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

thanks, but this also actually requires to run pixi run codegen and clean up where that assert is violated

Also, it would be nicer to not right out crash but instead log an error on the reporter

@Weijun-H Weijun-H requested a review from Wumpf October 6, 2025 10:41
@Wumpf Wumpf added codegen/idl exclude from changelog PRs with this won't show up in CHANGELOG.md 🧑‍💻 dev experience developer experience (excluding CI) labels Oct 6, 2025
Copy link
Copy Markdown
Member

@Wumpf Wumpf left a comment

Choose a reason for hiding this comment

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

lgtm, thanks!

@Wumpf Wumpf merged commit f4f787f into rerun-io:main Oct 6, 2025
41 of 42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codegen/idl 🧑‍💻 dev experience developer experience (excluding CI) exclude from changelog PRs with this won't show up in CHANGELOG.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Detect usage of required and panic with helpful message

2 participants