Skip to content

CMAEntry Serialization During Entry Creation#174

Merged
Rafal Niski (rafalniski) merged 20 commits intocontentful:masterfrom
Xchg0x5f375d:master
Mar 19, 2024
Merged

CMAEntry Serialization During Entry Creation#174
Rafal Niski (rafalniski) merged 20 commits intocontentful:masterfrom
Xchg0x5f375d:master

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 Rafal Niski (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 Rafal Niski (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 Rafal Niski (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