-
Notifications
You must be signed in to change notification settings - Fork 217
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
pkg/query: Check individual mapping fields for null #3786
base: main
Are you sure you want to change the base?
Conversation
✅ Meticulous spotted zero visual differences across 406 screens tested: view results. Last updated for commit 4043468. This comment will update as new commits are pushed. |
Can we try to understand why this happens? As far as I can tell all codepaths that generate these inputs write a non-null value for all mapping fields if writing a mapping start, so I don't understand why this happens in the first place. |
As in, this is the code that produces this: Lines 338 to 354 in 00471e8
|
Really odd indeed. Reading around the code you posted I briefly assumed that we might be hitting this part: However, we are calling |
Is there maybe something special about the conversion of an empty string? |
It seems like mappingStart was valid (not null) but the build ID index was.