nicholaschiang / hammock

Move your newsletters outside of your inbox. Focus on and learn from the content you love in a distraction-free reading space.
https://readhammock.com
GNU Affero General Public License v3.0
11 stars 1 forks source link

fix: restore `writer` filter with db cols #131

Closed nicholaschiang closed 3 years ago

nicholaschiang commented 3 years ago

Fixes PD-144

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

hammock – ./

🔍 Inspect: https://vercel.com/readhammock/hammock/3W8Rymxd1hYSuzn1ZxJuZJkEMKUi
✅ Preview: https://hammock-git-sql-writers-readhammock.vercel.app

linear[bot] commented 3 years ago
PD-144 Adjust SQL for writers filter

Currently, I can't filter by the `from.email` field using Supabase's `eq` filter because of their TypeScript declarations (which are good and constrain the fields to be `keyof Model`). Instead, I'll have to use a `match` filter or something or create a separate `writer` column that simply copies the content from the `from.email` field.