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

Allow objects for tree resources #4

Open
mcweba opened this issue Jun 14, 2017 · 0 comments
Open

Allow objects for tree resources #4

mcweba opened this issue Jun 14, 2017 · 0 comments
Assignees

Comments

@mcweba
Copy link
Contributor

mcweba commented Jun 14, 2017

The current implementation of the editor allows the following structure of tree resources only:

{
    "resources": [
        "resource_1",
        "resource_2",
        "resource_3"
    ]
}

This structure contains an array containing the names of the resources as string.

To be more flexible, the editor should also allow the following structure:

{
    "resources": [
        {
            "name": "resource_1"
        }
    ]
}

This structure contains an array containing objects having string name properties. These objects could contain additional properties which could be used in the editor in the future.

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

No branches or pull requests

1 participant