Skip to content
New issue

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

superlifter 안타도 될 경우 타지 않도록 개선 #60

Open
jungwookim opened this issue Oct 11, 2022 · 0 comments
Open

superlifter 안타도 될 경우 타지 않도록 개선 #60

jungwookim opened this issue Oct 11, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@jungwookim
Copy link
Contributor

현재 구현은 모든 resolver에 superlifter를 타도록 구현이 되어있습니다. 이는 보통의 경우 좋지만 단일 부모일 때는 비효율적 쿼리를 만들기도 합니다. 그래서 아래를 제안합니다.

부모 N(Connection) : 자식 M -> superlifter O
부모 1(Node) : 자식 M -> superlifter X

if ancestor_has_connection?
then superlifter-fetch
else pure-fetch
@jungwookim jungwookim added the enhancement New feature or request label Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant