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

Disambiguate camelCase and PascalCase in *.meta.json and *.model.json #563

Merged
merged 5 commits into from
Jun 30, 2022

Conversation

MaximumADHD
Copy link
Contributor

@MaximumADHD MaximumADHD commented Jun 29, 2022

*.meta.json forces camelCase while *.model.json forces PascalCase. This commit reinforces camelCase as the preference, but keeps backwards compatibility for the old PascalCase cases.

*.meta.json forces camelCase while *.model.json forces PascalCase. This commit reinforces camelCase as the preference for both, but allows for PascalCase in both as well.
@LPGhatguy LPGhatguy added the status: needs review This work is mostly done, but just needs work to integrate and merge it. label Jun 29, 2022
@LPGhatguy LPGhatguy merged commit f649c18 into rojo-rbx:master Jun 30, 2022
@MaximumADHD MaximumADHD deleted the casing-ambiguity branch June 30, 2022 04:38
Dekkonot pushed a commit to UpliftGames/rojo that referenced this pull request Jan 11, 2024
…rojo-rbx#563)

* Disambiguate camelCase and PascalCase.

*.meta.json forces camelCase while *.model.json forces PascalCase. This commit reinforces camelCase as the preference for both, but allows for PascalCase in both as well.

* Made requested changes, breaking due to serde bug.

* Make work with existing Serde stuff

* Work around MSRV

Co-authored-by: Lucien Greathouse <me@lpghatguy.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs review This work is mostly done, but just needs work to integrate and merge it.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants