We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the solution you'd like
Refactor the current get post route to allow passing keywords as query params
social-tw-website/packages/relay/src/routes/postRoute.ts
Line 18 in 9cc927d
And in fetchPosts search for content that contain keywords
social-tw-website/packages/relay/src/services/PostService.ts
Line 143 in 9cc927d
if (keywords) { whereClause.content = { contains: keywords } }
Add test in post.test for fetchPosts with keyword https://github.com/social-tw/social-tw-website/blob/main/packages/relay/test/post.test.ts
The text was updated successfully, but these errors were encountered:
I think it's related to #520, I will wait for the reply then implement it. thanks
Sorry, something went wrong.
Lisooo790926
No branches or pull requests
Describe the solution you'd like
Refactor the current get post route to allow passing keywords as query params
social-tw-website/packages/relay/src/routes/postRoute.ts
Line 18 in 9cc927d
And in fetchPosts search for content that contain keywords
social-tw-website/packages/relay/src/services/PostService.ts
Line 143 in 9cc927d
Add test in post.test for fetchPosts with keyword
https://github.com/social-tw/social-tw-website/blob/main/packages/relay/test/post.test.ts
The text was updated successfully, but these errors were encountered: