Skip to content

Conversation

@AlexDenfordSkyboxLabs
Copy link
Contributor

Small tweak to the moustache template to handle the undefined/optional within a Record/unordered_map. Tested on MCPE and it seems to be working correctly. (See PR: https://github.com/Mojang/Minecraftpe/pull/78575)

@AlexDenfordSkyboxLabs AlexDenfordSkyboxLabs changed the title [Bug AB#1475412]: [Infra][API Generator] Fixing type failing to generate correctly: unordered_map<optional<variant<x>>> [Bug AB#1475412]: [Infra][API Generator] Fixing type failing to generate correctly: unordered_map<optional<x>> Sep 10, 2025
@AlexDenfordSkyboxLabs
Copy link
Contributor Author

Fixed ms docs and ran npm change

Copy link
Contributor

@zachcampbellskyboxlabs zachcampbellskyboxlabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@AlexDenfordSkyboxLabs AlexDenfordSkyboxLabs merged commit eaecf20 into main Sep 10, 2025
3 checks passed
@AlexDenfordSkyboxLabs AlexDenfordSkyboxLabs deleted the sbl/alex.denford/record-optional-fix branch September 10, 2025 22:28
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.

4 participants