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

lua: kKeep filenames to avoid incorrect require casing #8258

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

serprex
Copy link

@serprex serprex commented Mar 14, 2024

Having a struct UUID, the file generated was Uuid.lua,
but generated code passing UUID all uppercase to require,
on case sensitive filesystems this doesn't work

Update GenerateMethod to use namer_ Method to avoid changing PrependInt8 into Prependint8

@github-actions github-actions bot added c++ codegen Involving generating code from schema lua labels Mar 14, 2024
@serprex serprex changed the title lua: kKeep type names to avoid incorrect require casing lua: kUpperCamel filenames to avoid incorrect require casing Mar 14, 2024
Having a struct UUID, the file generated was Uuid.lua,
but generated code passing UUID all uppercase to require,
on case sensitive filesystems this doesn't work
@serprex serprex changed the title lua: kUpperCamel filenames to avoid incorrect require casing lua: kKeep filenames to avoid incorrect require casing Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ codegen Involving generating code from schema lua
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant