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 field by index lookup #112

Merged
merged 1 commit into from
Sep 30, 2024
Merged

Conversation

alexey-lysiuk
Copy link
Contributor

Field by index lookup should start with one, modelindex field would never be picked otherwise

  • Field at index zero is an invalid field with offset set to 0
  • Field at index one is a valid field (modelindex) with offset set to 0 as well

Field at index zero is an invalid field with offset set to 0
Field at index one is a valid field (modelindex) with offset set to 0 as well
Field by index lookup should start with one, modelindex field would never be picked otherwise
@sezero
Copy link
Owner

sezero commented Sep 28, 2024

I guess this is correct.

CC: @ericwa, @andrei-drexler

@andrei-drexler
Copy link
Contributor

Looks good, IW does something similar to this.

@sezero sezero merged commit fe459b4 into sezero:master Sep 30, 2024
8 checks passed
@sezero
Copy link
Owner

sezero commented Sep 30, 2024

OK, patch is in. Thanks.

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.

3 participants