Remove useless data sources
Today we have as attribute a gender and type member datas sources.
range-subscription-typemember="http://yourserveradress/typemembers/"
range-subscription-membergender="http://yourserveradress/gendermembers/"
I think it's not relevant and it make useless request. As the framework won't display anything without it, I propose to make a static data file to serve it.
Here is an example :
{
"@id": "gendermembers",
"@type": "ldp:Container",
"ldp:contains": [
{
"@id": "1",
"is_backlink": false,
"allow_create_backlink": true,
"name": "Mr",
"permissions": [
{
"mode": {
"@type": "view"
}
}
]
},
{
"@id": "2",
"is_backlink": false,
"allow_create_backlink": true,
"name": "Mme",
"permissions": [
{
"mode": {
"@type": "view"
}
}
]
},
{
"@id": "3",
"is_backlink": false,
"allow_create_backlink": true,
"name": "Autre",
"permissions": [
{
"mode": {
"@type": "view"
}
}
]
}
],
"permissions": [
{
"mode": {
"@type": "view"
}
}
],
"@context": "https://cdn.happy-dev.fr/owl/hdcontext.jsonld"
}
In a second time, I think the framework should be updated with this issue. Any idea @matthieu or @balessan ?