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

Using keyed members in the association file format is probably a better design choice #14

Open
LuHuangMSFT opened this issue Sep 3, 2020 · 0 comments

Comments

@LuHuangMSFT
Copy link
Collaborator

LuHuangMSFT commented Sep 3, 2020

[
    {
        "manifest": "https://contoso.com/manifest.json",
        "handle_urls": {
            "paths": [
                "/*"
            ],
            "exclude_paths": [
                "/blog",
                "/about"
            ]
        }
    },
    {
        "manifest": "https://partnerapp.com/manifest.json",
        "handle_urls": {
            "paths": [
                "/public/data/*"
            ]
        }
    }
]

This format, as written, uses an array at the top level. After reviewing some design guidelines, I think this might hamper the ability to extend this format. It might be a good idea to use a key : value format wherever possible even if there is only one key right now.

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

No branches or pull requests

1 participant