Open Xrayez opened 5 years ago
[?] Fix the accessibility of the online API docs (might be a more general issue).
The https://docs.godotengine.org/en/latest/search.html?q=inst2dict query currently returns only a link to unusable c# hints instead of https://docs.godotengine.org/en/latest/classes/class_@gdscript.html#class-gdscript-method-inst2dict
Can we add the following:
A class de-serialised with dict2inst fails if the class has moved it's path. A classes ability to be de-serialised should not be linked to it's path. I do get this might require a re-write to the entire gdscript language to force class names.
@capnm I think you could open an issue about this at godot-docs. It fails to search the class ref for some reason. I've stumbled upon this with other keywords if I recall correctly.
@nhold you could open a separate issue and/or proposal to discuss the best way to implement it first. But it feels like this could be solved relatively easy by writing global class name to dictionary along with script path. Edit: see possible implementation at #33360.
Anyways, added to Other issues
section because they currently have no home.
Godot version: 3.2, 4.0+
Issue description: There are quite a bunch of old issues present with
inst2dict
anddict2inst
that it's worth to add a tracker for it. I'm currently working on some of them.Other issues
Orphan issues or which need more discussion.
dict2inst
fails if the class has moved it's path: https://github.com/godotengine/godot/issues/33348#issuecomment-549735838.docs
: Fix the accessibility of the online API docs: https://github.com/godotengine/godot/issues/33348#issuecomment-549640679.Fixes
I think it would be best if these fixes could be reviewed in order so that smaller fixes can be rebased on top of bigger ones more easily if deemed satisfactory:
They could as well be targeted for 4.0 but see for yourself.
CC @vnen @bojidar-bg.