Add actors table and actor GraphQL API - #47
Conversation
Add , and remove , when get
Prompt: DB 스키마에서 `instance` 를 Local/Remote 로 분리하고 API 를 수정하면서 기존 스키마/API 에 맞춰놨던 일부 테스트가 문제 되고 있습니다. [instance.test.ts](packages/graphql/src/instance.test.ts) 파일의 20419ce 커밋 변경 사항을 참고해서 문제되는 파일들의 코드를 직접 수정하세요. 문제되는 파일들은 `mise check`, `mise test` 로 찾을 수 있습니다. 추가적으로 리모트 인스턴스를 위한 테스트도 추가하세요. 너무 복잡한 테스트 말고, 생성, host 유일성 체크 정도만 추가하세요. Assisted-by: Codex:gpt-5-6-sol
Prompts: Actor 를 위한 GraphQL 빌더를 추가했습니다. @packages/graphql/src/actor.test.ts 에 이를 위한 테스트를 생성해주세요. 파일 추가 직후 `mise run fmt` 로 라이선스를 추가하세요. 최소한 다음과 같은 테스트가 필요합니다. - 액터 생성 - 로컬 액터 조회 - 리모트 액터 조회 Assisted-by: Codex:gpt-5-6-sol
3e7a1f0 to
9ce4e31
Compare
|
I have some comments related to actor schema. I see only followee/follower counters not actual follow relationship among actors. I don't think |
I haven't fully implemented the follow-related features yet since they weren't part of the current goal. I've kept the terminology as consistent as possible with the Hackers' Pub codebase. Personally, I also prefer the term "followee" because it provides a clear contrast to "follower." |
Resolves #6.
Add
actorstable and actor GraphQL API to create and reads.To merge this PR, #44 must be preceded.
Assisted-by: Codex:gpt-5-6-sol to generate test.