solid-contrib / data-modules

Solid Data Modules
6 stars 1 forks source link

Should data-modules respect old private type index location? #111

Open angelo-v opened 4 months ago

angelo-v commented 4 months ago

If the type index exists, but it’s declared in the profile, it doesn’t work. Now, I understand the rationale behind this, because I am declaring solid:privateTypeIndex in the profile which is probably not the best idea. I think I’m doing this because that’s how it worked before in SolidOS (the document itself is private though, so it shouldn’t be that much of a problem). What your library expects, which seems to be better, is that it’s declared in a pim:preferencesFile, which I assume should be private. The thing is that the type-indexes spec is still a draft, so I’m not sure if I should change the way my apps work until that’s stable :/. Also, there is already some data in the wild using that old approach, so maybe the library should support it as well; even if it’s just to read data and not to create new type indexes.

https://forum.solidproject.org/t/request-for-developer-feedback-contacts-data-module/7372/9