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

fix reading comment from excel file #175

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pcjbird
Copy link

@pcjbird pcjbird commented Aug 4, 2023

No description provided.

}

public struct Text: Codable, Equatable {
public let plain: String?
Copy link
Member

Choose a reason for hiding this comment

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

Unfortunately, breaking API is not something we can merge. Could you re-introduce plain here?

@@ -36,12 +36,25 @@ public struct Comment: Codable, Equatable {
case reference = "ref"
case text
}

public var plain: String? {
return self.text.r?.t
Copy link
Member

Choose a reason for hiding this comment

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

Given the comment on plain:

Suggested change
return self.text.r?.t
return self.text.r?.t ?? self.text.plain

@Joannis
Copy link
Member

Joannis commented Nov 19, 2023

Please tag me as a reviewer, so that I see the open PR pop up. You can re-request usig the icon next to my name under reviewers in the side bar

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.

None yet

2 participants