Skip to content

Mandatory shapeKey on syncShapeToTable; allow shapeKey to be null#522

Merged
tdrz merged 3 commits intomainfrom
tudor/allowNullShape
Feb 5, 2025
Merged

Mandatory shapeKey on syncShapeToTable; allow shapeKey to be null#522
tdrz merged 3 commits intomainfrom
tudor/allowNullShape

Conversation

@tdrz
Copy link
Collaborator

@tdrz tdrz commented Feb 5, 2025

As discussed on Discord, make shapeKey mandatory but allow it to be null for non-persisted shapes.

@tdrz tdrz requested a review from samwillis February 5, 2025 09:11
Copy link
Collaborator

@samwillis samwillis left a comment

Choose a reason for hiding this comment

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

Perfect 👍

Looks like there is a formatting issue in test/sync.test.ts. Just run pnpm format in /packages/pglite (I think)

@samwillis
Copy link
Collaborator

Oh, and don't forget a changeset noting the change in api - its still just a patch version change to the pglite-sync package though!

@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2025

@tdrz tdrz merged commit 67bf759 into main Feb 5, 2025
7 checks passed
@tdrz tdrz deleted the tudor/allowNullShape branch February 5, 2025 09:43
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.

2 participants