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

Change return type of get_configuration_warnings to PackedStringArray #66112

Merged
merged 1 commit into from
Sep 19, 2022

Conversation

Zylann
Copy link
Contributor

@Zylann Zylann commented Sep 19, 2022

This one came up because the type differs from the exposed API, as I'm keeping support for both module and extension targets in my voxel engine. I found out get_configuration_warnings had no reason to return a TypedArray<String> (which is in reality an array of Variant with a hint).

Copy link
Member

@fire fire left a comment

Choose a reason for hiding this comment

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

A correctly typed variable is better than a variant typed variable that is casted.

@akien-mga akien-mga merged commit 209a837 into godotengine:master Sep 19, 2022
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants