Skip to content

Conversation

@emmatown
Copy link
Member

@emmatown emmatown commented Mar 11, 2025

This pull request removes the JSON polyfill for SQLite and moves to Prisma's native support for the Json scalar type universally.

Unfortunately, as a result of prisma/prisma#26571 we can't rely on Prisma to support default values for SQLite for now.

However, rather than continue the string-based polyfill only for native defaultValues, we are happy to defer that functionality upstream while maintaining defaultValue support through Keystone (not Prisma).

@emmatown emmatown enabled auto-merge (squash) March 11, 2025 04:59
@emmatown emmatown disabled auto-merge March 11, 2025 05:08
@emmatown
Copy link
Member Author

Needs prisma/prisma#26571

@emmatown emmatown closed this Mar 11, 2025
@dcousens dcousens reopened this Mar 11, 2025
@emmatown emmatown force-pushed the remove-jsonFieldTypePolyfilledForSQLite branch 2 times, most recently from 150b7d5 to 1425c9c Compare March 18, 2025 04:26
@emmatown emmatown force-pushed the remove-jsonFieldTypePolyfilledForSQLite branch 2 times, most recently from cb84c37 to b2256a1 Compare March 28, 2025 05:27
@dcousens dcousens force-pushed the remove-jsonFieldTypePolyfilledForSQLite branch 3 times, most recently from 8da59c0 to 2576403 Compare July 15, 2025 22:58
@dcousens dcousens changed the title Remove jsonFieldTypePolyfilledForSQLite since Prisma now supports the Json scalar for SQLite Remove JSON polyfill since Prisma now supports the Json scalar for SQLite Jul 15, 2025
@dcousens dcousens force-pushed the remove-jsonFieldTypePolyfilledForSQLite branch 2 times, most recently from 88ec578 to 7ffdd1d Compare July 15, 2025 23:24
@dcousens dcousens force-pushed the remove-jsonFieldTypePolyfilledForSQLite branch from 7ffdd1d to 79f88cc Compare July 16, 2025 01:38
@dcousens dcousens merged commit ce4be0b into main Jul 16, 2025
51 checks passed
@dcousens dcousens deleted the remove-jsonFieldTypePolyfilledForSQLite branch July 16, 2025 01:47
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