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

Refactor parsing of body content #123

Merged
merged 1 commit into from
Nov 24, 2023
Merged

Refactor parsing of body content #123

merged 1 commit into from
Nov 24, 2023

Conversation

csutter
Copy link
Contributor

@csutter csutter commented Nov 24, 2023

We've previously had ContentWithMultipleTypes, but we also want to be able to handle content that could just come through as a plain string.

  • Add BodyContent to encapsulate and handle a piece of content that could be a string or an array of "typed" content values
  • Change to use BodyContent throughout

We've previously had `ContentWithMultipleTypes`, but we also want to be
able to handle content that could just come through as a plain string.

- Add `BodyContent` to encapsulate and handle a piece of content that
  could be a string or an array of "typed" content values
- Change to use `BodyContent` throughout
@csutter csutter merged commit 72f46ea into main Nov 24, 2023
@csutter csutter deleted the fix-body-content-parsing branch November 24, 2023 12:18
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.

1 participant