json-flatfile-datastore icon indicating copy to clipboard operation
json-flatfile-datastore copied to clipboard

Get root

Open colbytimm opened this issue 3 years ago • 1 comments

Resolves #19 - Added logic from add-getroot branch with test code and updated IDataStore.

colbytimm avatar Feb 21 '22 04:02 colbytimm

Thanks for the PR!

I had a this question earlier

...maybe GetRoot has to return Root-object that can either have a DocumentCollection or a single item.

But maybe returning root as a single item will be enough.

Do you think we would need to have a functionality for updating the root or will it be enough if updates are still made with XxxxItem-methods?

ttu avatar Feb 28 '22 20:02 ttu