Description
Your Godot version:
alpha 5
Issue description:
when I use "cast_to" function to check parent type and it always return true when current parent is node. I test it at function "_get_configuration_warning" and I fond parent warning not working. I replace "cast_to" with "dynamic_cast" then my warning works.
URL to the documentation page:
If you know how to fix the issue you are reporting please
consider opening a pull request. We provide a tutorial on
using git here: https://docs.godotengine.org/en/stable/community/contributing/pr_workflow.html,
writing documentation at https://docs.godotengine.org/en/stable/community/contributing/docs_writing_guidelines.html
and contributing to the class reference here: https://docs.godotengine.org/en/stable/community/contributing/updating_the_class_reference.html