Skip to content

fix(view): get should be nullable & should not wrap a singular component in a LuaTuple#32

Open
sasial-dev wants to merge 1 commit intomatter-ecs:masterfrom
sasial-dev:fix/view-types
Open

fix(view): get should be nullable & should not wrap a singular component in a LuaTuple#32
sasial-dev wants to merge 1 commit intomatter-ecs:masterfrom
sasial-dev:fix/view-types

Conversation

@sasial-dev
Copy link
Copy Markdown
Contributor

Proposed changes

view:get should return a nullable array and should not return a LuaTuple if there is only one component.

Related issues

Discussed in #matter-types at https://discord.com/channels/1234249974959702056/1234254541730353242/1279274683463630908

Additional comments

N/A. Should be a nice simple PR :)

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.

2 participants