Geo-Web-Project / browser

An interface that uses geolocation to navigate/resolve content on the Geo Web.
MIT License
3 stars 8 forks source link

Ceramic mainnet + multiquery #15

Closed codynhat closed 3 years ago

codynhat commented 3 years ago
10dimensions commented 3 years ago

Works out of the box!

Do you think there's scope for querying based on known hierarchy of data ? https://developers.ceramic.network/build/queries/#query-document-paths

codynhat commented 3 years ago

Works out of the box!

Do you think there's scope for querying based on known hierarchy of data ? https://developers.ceramic.network/build/queries/#query-document-paths

Which multi query are you thinking exactly? Right now, it does a multi query on mediaGallery to get all items. Are you saying we could do a single multi query that includes the media gallery and the root parcel content?

10dimensions commented 3 years ago

Yea... A single query which can pick up the subsequent StreamIDs from the response directly.

I'll probably see if "Query document paths" from ceramic docs works.

codynhat commented 3 years ago

Can a multi query be used with an array? If so, I think the problem that remains is not knowing the length of the array without first querying mediaGallery.

10dimensions commented 3 years ago

Yea... I forgot that! Made some minor parsers to simplify query script. Merging now