-
Notifications
You must be signed in to change notification settings - Fork 5
[FEATURE] Better encoder #1
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
base: master
Are you sure you want to change the base?
Conversation
586257c to
94d9a34
Compare
|
Wait this has been around for FOUR MONTHS and nobody told me? 😱 |
|
My excuse for not reviewing last week is that I was sick. |
|
My notes so far:
|
|
Would still like to find a nice fix for arrays before merging. |
|
im gonna look into it, and see if there is a good solution |
|
arrays should work now |
|
Just got around to trying this and it looks like this breaks because Definitely try building and testing this with the Funkin' repo (since that's the main place we want to use these changes). |
i got maps to compile now, i haven't got around to testing yet though. |



LINKED ISSUE
FunkinCrew/Funkin#4793
DESCRIPTION
This pr adds the
:ordermetadata for maps. It accepts an array of keys. The writer exports the values in the order of the keys. Any key that isn't in the:ordermetadata will be appended in alphabetical or ascending order (depends on what Reflect.compare does for the type).When the value is equal to
:defaultthen it is skipped when exporting.EXAMPLE