Skip to content

Conversation

@KANAjetzt
Copy link
Member

Added type check to _get_string_from_dict() and _get_array_from_dict()

@KANAjetzt KANAjetzt added enhancement New feature or request validation Feature to make things safe and predictable labels Mar 2, 2023
@KANAjetzt KANAjetzt requested review from a team and Qubus0 March 2, 2023 16:55
Copy link
Collaborator

@Qubus0 Qubus0 left a comment

Choose a reason for hiding this comment

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

how could I miss that lol. We could also return str(dict[key]), but I'm not sure if that would be considered the "expected" behaviour

Added type check to `_get_string_from_dict()` and `_get_array_from_dict()`
@KANAjetzt KANAjetzt force-pushed the manifest_check_type branch from 453509a to 5c5c0d8 Compare March 2, 2023 20:33
@KANAjetzt KANAjetzt added this pull request to the merge queue Mar 2, 2023
Merged via the queue into GodotModding:development with commit 02d128b Mar 2, 2023
@KANAjetzt KANAjetzt deleted the manifest_check_type branch March 2, 2023 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request validation Feature to make things safe and predictable

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants