LionWeb-io / lionweb-repository

Reference implementation of LionWeb repository
Apache License 2.0
2 stars 1 forks source link

How can I check if a node exist or not? #42

Closed ftomassetti closed 2 weeks ago

ftomassetti commented 3 months ago

If I have a Node ID, and I do not know if the node is a partition or not, how can I verify if it exist? Could I call retrieve and check if I get back an empty list? Should I consider: empty list -> node does not exist, not empty list -> node exist?

joswarmer commented 3 months ago

In the current API that is the only way I can think of indeed.

joswarmer commented 2 weeks ago

@ftomassetti Ok to close this?

ftomassetti commented 2 weeks ago

Yes, makes sense