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

should sub-directories of solid:instanceContainer considered in apps? #30

Open
soltanireza65 opened this issue Dec 15, 2023 · 4 comments

Comments

@soltanireza65
Copy link

Suppose we have a solid:instanceContainer that points to https://pod-url.net/bookmarks/ in a typeindex document
That also has subdirectories such as /meetings, /video-tuts, etc.

should an app parse all files inside the sub-directories of /bookmarks or do only the first-level files have to be parsed?

@lecoqlibre
Copy link

should an app parse all files inside the sub-directories of /bookmarks or do only the first-level files have to be parsed?

I think it's depend on the client-client standard the app is following. In my understanding, TypeIndex should be used to advertise primary objects like contacts/address books, pictures and so on. Once an app has discovered its entry points, the next steps should be defined in a client-client spec that can be followed by different apps for ("vertical") interoperability.

@michielbdejong
Copy link

It would be very confusing if the meaning of solid:instanceContainer were different for various verticals! I think we should either understand it to mean direct containment + subfolders for all verticals, or only direct containment for all verticals.

@michielbdejong
Copy link

From https://github.com/solid/solid/blob/main/proposals/data-discovery.md#solidinstancecontainer:

solidInstancedContainer maps a type to a Solid container which the client would have to list to get the instances of that type.

It says "list", not "traverse" or "recursively traverse" so let's assume the answer to the OP's question is "no", unless new evidence to the contrary is found.

@angelo-v
Copy link

angelo-v commented Mar 4, 2024

I am still unsure what "list" means. A container contains documents, not instances of the given type. So does it mean I have to read all documents contained in the container and consider all instances of the type found in those documents?

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

4 participants