Skip to content

Relative instance paths aren't propagated #42

Description

@ImLucasBrown

Describe the bug
A node who has relative instance paths, when instanced does not pass on that relative path, but instead passes on an absolute node path.

To Reproduce
Paste these nodes in and compare the instance paths of
/base/inst_tgt vs /base2/inst_tgt

Expected behavior
Relative paths should be preserved on proxy nodes.

Desktop (please complete the following information):

  • Version API v0.8.1

Additional context

[
	{
	    "/base": {
	        "child_order": [
	            "inst_src",
	            "inst_tgt"
	        ]
	    }
	},
	{
	    "/base/inst_src": {
	        "attrs": {
	            "side": {
	                "type": "raw",
	                "value": "L"
	            }
	        },
	        "code": [
	            "${side}"
	        ]
	    }
	},
	{
	    "/base/inst_tgt": {
	        "instance": "../inst_src"
	    }
	},
	{
	    "/base2": {
	        "instance": "/base"
	    }
	}
]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingknown limitationThis will not be worked on

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions