Skip to content

Add full text search example#9807

Open
borisno2 wants to merge 2 commits intokeystonejs:mainfrom
borisno2:borisno2/create-full-text-search-example
Open

Add full text search example#9807
borisno2 wants to merge 2 commits intokeystonejs:mainfrom
borisno2:borisno2/create-full-text-search-example

Conversation

@borisno2
Copy link
Copy Markdown
Member

Adds a new extend-full-text-search example demonstrating how to use Prisma's Full-Text Search on PostgreSQL with Keystone.

The example shows two things working together: using extendPrismaSchema at the db config level to inject the fullTextSearchPostgres preview feature into the Prisma generator block, and a custom searchPosts GraphQL query that uses context.prisma directly (since Keystone's context.db doesn't expose Prisma's search operator) before returning properly-typed Keystone objects.

@socket-security
Copy link
Copy Markdown

socket-security bot commented Apr 11, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedfast-deep-equal@​3.1.31001009975100
Addedfast-glob@​3.3.39910010080100
Addedjs-yaml@​4.1.19710010081100
Addedchalk@​4.1.210010010082100
Addedresolve@​1.22.119910010084100
Addedreact@​19.2.41001008497100
Addedzod@​4.3.610010010088100
Addedtypescript@​5.9.3100100909990
Addedreact-dom@​19.2.41001009298100

View full report

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.

1 participant