transfem-org / Sharkey

🌎 A Sharkish microblogging platform 🚀
https://joinsharkey.org/
74 stars 19 forks source link

prettier query for bubble timeline #204

Closed dakkar closed 7 months ago

dakkar commented 7 months ago

I think this works; in my test instance (with no federated notes…) the generated query looks correct, and PostgreSQL doesn't complain.

Mar0xy commented 7 months ago
  1. Fix the lint issue :)
  2. Will this still work with multiple instances? just fetch some posts from instances via lookup and then add those instances into the list to check.
dakkar commented 7 months ago

re: lint, pnpm lint at the top level fails because packages/megalodon/ doesn't have a linting config… do we care?

re: multi instances, I'll check

Mar0xy commented 7 months ago

re: lint, pnpm lint at the top level fails because packages/megalodon/ doesn't have a linting config… do we care?

No we never really cared since lint never gets run on megalodon

dakkar commented 7 months ago

yep, works with 4 names in the instances list, and 2 instances actually in the db