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

Enhancement: Implement ReflectUtil.setAnonymousField() #3177

Open
2 tasks done
Keoiki opened this issue Sep 13, 2024 · 0 comments · May be fixed by #3622
Open
2 tasks done

Enhancement: Implement ReflectUtil.setAnonymousField() #3177

Keoiki opened this issue Sep 13, 2024 · 0 comments · May be fixed by #3622
Assignees
Labels
mods Issue is related to the use of mods. status: reviewing internally This PR is under internal review and quality assurance testing type: enhancement Provides an enhancement or new feature.

Comments

@Keoiki
Copy link
Contributor

Keoiki commented Sep 13, 2024

Issue Checklist

  • I have properly named the enhancement
  • I have checked the issues/discussions pages to see if the enhancement has been previously suggested

What is your suggestion, and why should it be implemented?

With 0.5.0 came 3 new functions in ReflectUtil, getAnonymousField, getAnonymousFieldsOf and hasAnonymousField. There's a distinct lack of being able to set a field in a structure (without creating a massive switch statement or something), so I think it'd be good to add setAnonymousField(struct, field, value).

@Keoiki Keoiki added status: pending triage The bug or PR has not been reviewed yet. type: enhancement Provides an enhancement or new feature. labels Sep 13, 2024
@EliteMasterEric EliteMasterEric added status: reviewing internally This PR is under internal review and quality assurance testing mods Issue is related to the use of mods. and removed status: pending triage The bug or PR has not been reviewed yet. labels Sep 13, 2024
@EliteMasterEric EliteMasterEric self-assigned this Sep 13, 2024
@AbnormalPoof AbnormalPoof linked a pull request Oct 8, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mods Issue is related to the use of mods. status: reviewing internally This PR is under internal review and quality assurance testing type: enhancement Provides an enhancement or new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants