Skip to content

Conversation

@bobbai00
Copy link
Contributor

This PR introduces the abstraction of a read-only resource document, and an implementation representing a read-only local file.

@bobbai00 bobbai00 requested a review from Yicong-Huang October 28, 2024 17:08
@bobbai00 bobbai00 self-assigned this Oct 28, 2024
Copy link
Contributor

@Yicong-Huang Yicong-Huang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fact that many base APIs are left unimplemented and the generic type provided is Nothing indicate that the base APIs of document is not suiting the design. From offline discussion, we can merge this PR to unblock the separation, but should left TODO clearly on how to break the base Document into readonly, writeonly and iterable traits, and let different documents implement those traits selectively.

Approving this PR per the offline discussion.

@bobbai00 bobbai00 merged commit 8d8f38d into master Oct 28, 2024
@bobbai00 bobbai00 deleted the jiadong-add-readonly-document branch October 28, 2024 17:36
PurelyBlank pushed a commit that referenced this pull request Dec 4, 2024
This PR introduces the abstraction of a read-only resource document, and
an implementation representing a read-only local file.
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

Successfully merging this pull request may close these issues.

2 participants