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

Ability to sort nodes last in group #2235

Open
deathemperor opened this issue Mar 20, 2024 · 1 comment
Open

Ability to sort nodes last in group #2235

deathemperor opened this issue Mar 20, 2024 · 1 comment

Comments

@deathemperor
Copy link

In large queries with many fields and sub fields, I prefer to put sub query nodes last. As with big queries, finding fields last under other nodes is a pain

For example:

current situation

query books {
	id
	title
	author {
		id
		addresses {
			id
			street_name
		}
		name
	}
	series {
		id
		title
	}
	created_at
	updated_at
}

Desire sort:

query books {
	id
	title
	created_at
	updated_at
	author {
		id
		name
		addresses {
			id
			street_name
		}
	}
	series {
		id
		title
	}
}
@dimaMachina
Copy link
Owner

dimaMachina commented Mar 20, 2024

I like this idea, pr welcome (via the new option for existing rule)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants