평소에 GraphQL 설계를 할 때 권한에 따라서 같은 리소스의 타입을 다르게 (예를 들어 프로필 타입을 MyProfile
과 PublicProfile
로 나눈 후 PublicProfile
에만 email
등의 필드를 구현한다던가) 하는 설계를 많이 했었는데 Relay에 호환되게 짜려고 하니 node(id) 구조랑 충돌하는 거 같아서 고민이다... id만으로는 그게 Public인지 My인지 알 수도 없고...
If you have a fediverse account, you can quote this note from your own instance. Search https://hackers.pub/ap/notes/01980494-b9f9-7611-8017-7b7a6a4b53dd on your instance and quote it. (Note that quoting is not supported in Mastodon.)