Skip to content

refactor: change schema shape to support type changes for properties#166

Merged
ali-ince merged 10 commits intoneo4j:mainfrom
ali-ince:schema-type-info-refactor
Jul 30, 2024
Merged

refactor: change schema shape to support type changes for properties#166
ali-ince merged 10 commits intoneo4j:mainfrom
ali-ince:schema-type-info-refactor

Conversation

@ali-ince
Copy link
Contributor

This PR implements a breaking change where;

  • Neo4j property types are wrapped into a separate struct schema (PropertyType),
  • Change Data Capture events switch to Map<String, PropertyType> for capturing properties in before and after states,
  • Removes recently introduced temporal-type setting which is no longer necessary and we always serialise those as strings.

@ali-ince ali-ince requested a review from a team as a code owner July 29, 2024 12:33
Copy link
Contributor

@fbiville fbiville left a comment

Choose a reason for hiding this comment

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

great stuff!

Copy link
Contributor

@venikkin venikkin left a comment

Choose a reason for hiding this comment

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

Have a comment about empty list serialization.

@ali-ince ali-ince merged commit e2f57cd into neo4j:main Jul 30, 2024
@ali-ince ali-ince deleted the schema-type-info-refactor branch July 30, 2024 12:01
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.

3 participants