Skip to content

fix(types): add partial user settings - #2115

Open
oriori1703 wants to merge 1 commit into
mason-org:mainfrom
oriori1703:fix/partial-user-settings
Open

oriori1703 wants to merge 1 commit into
mason-org:mainfrom
oriori1703:fix/partial-user-settings

Conversation

@oriori1703

Copy link
Copy Markdown

Summary

  • add a recursively partial MasonUserSettings type for public setup input
  • keep MasonSettings as the complete resolved internal type
  • preserve nested completion and value validation

Verification

  • make test
  • StyLua and git diff --check
  • EmmyLua 0.25.1 and LuaLS 3.19.1 with empty, top-level, and nested partial settings
  • negative type-check fixtures for invalid nested values

Closes #2114

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.

setup annotation treats all default settings as required

1 participant