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

Provide granular warning/error type safety #850

Open
Naros opened this issue Jan 3, 2025 · 0 comments
Open

Provide granular warning/error type safety #850

Naros opened this issue Jan 3, 2025 · 0 comments
Labels
kind/enhancement New feature or request

Comments

@Naros
Copy link
Member

Naros commented Jan 3, 2025

Description

Each OScriptNode performs validation steps when the script is compiled. We've had to relax certain validation requirements, but it would be helpful to enforce these validations to help newusers.

In addition, looking at things like calling void set(StringName, Variant) does not return an error if the property name is not found. We could add specialized Orchestrator settings that would look for this call, specifically validate the property's existence, and throw errors if they don't exist.

Implementation ideas

Introduce a section under Debug or under Orchestrator > Debug where warnings are handled similar to how they're in the standard project settings under Debug > GDScript.

@Naros Naros added the kind/enhancement New feature or request label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant