Skip to content

Conversation

@KANAjetzt
Copy link
Member

splited validate_dependencies_and_incompatibilities() in to validate_dependencies(), validate_incompatibilities() and is_mod_id_array_valid(). Will be used in the ModTool to validate the fields separately.

splited `validate_dependencies_and_incompatibilities()` in to `validate_dependencies()`, `validate_incompatibilities()` and `is_mod_id_array_valid()`. Will be used in the ModTool to validate the fields separately.
@KANAjetzt KANAjetzt added the validation Feature to make things safe and predictable label Mar 5, 2023
@KANAjetzt KANAjetzt requested review from a team, Qubus0 and ithinkandicode March 5, 2023 11:05
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.

Small things, overall merge ready

Added *mod_id_array_description* to log_fatal() in `is_mod_id_array_valid()`
Removed the `break` in the mod id check, so all invalid values get logged at once and the user doesn't have to fix one error to get the next one.
@KANAjetzt KANAjetzt force-pushed the split_validate_dependencies_and_incompatibilities branch from 3423dd8 to 134e7d8 Compare March 5, 2023 15:30
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.

👍

@KANAjetzt KANAjetzt added this pull request to the merge queue Mar 5, 2023
Merged via the queue into GodotModding:development with commit 547c437 Mar 5, 2023
@KANAjetzt KANAjetzt deleted the split_validate_dependencies_and_incompatibilities branch March 5, 2023 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

validation Feature to make things safe and predictable

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants