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

CMAEntry Serialization During Entry Creation #174

Merged
merged 20 commits into from
Mar 19, 2024
Merged

CMAEntry Serialization During Entry Creation #174

merged 20 commits into from
Mar 19, 2024

Conversation

Xchg0x5f375d
Copy link
Contributor

@Xchg0x5f375d Xchg0x5f375d commented Mar 18, 2024

What?

This PR attempts to resolve the issue of missing metadata properties upon CMAEntry creation.

Why?

See this discussion.

How?

Created a new MetadataSerializer that at the moment includes tags property in serialization process, and then extended EntrySerialization to include metadata serialization.

Testing

Ran the unit test and confirmed it passes.

There are a few ways this could be refactored. Let me know if you have any other questions or feedback! I'd be more than happy to see this improvement merged.

Closes #173

@Xchg0x5f375d Xchg0x5f375d marked this pull request as draft March 18, 2024 22:38
@Xchg0x5f375d Xchg0x5f375d marked this pull request as ready for review March 18, 2024 22:38
Copy link
Collaborator

@rafalniski rafalniski left a comment

Choose a reason for hiding this comment

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

One styling comment

Copy link
Collaborator

@rafalniski rafalniski left a comment

Choose a reason for hiding this comment

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

LGTM, good work!

@rafalniski rafalniski merged commit be573d0 into contentful:master Mar 19, 2024
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.

Concern Regarding CMAEntry Serialization During Entry Creation
2 participants