graphiql icon indicating copy to clipboard operation
graphiql copied to clipboard

Maintain argument order in the schema.

Open coady opened this issue 3 years ago • 3 comments

Fields maintain their original schema order in both the docs and the autocomplete suggestions (#884). But arguments are sorted alphabetically.

As with fields, although the order doesn't matter functionally it still indicates importance, grouping, etc. Also it looks inconsistent since input fields are in schema order.

coady avatar Mar 05 '22 16:03 coady

Hi, Can I have a try on this issue?

ritikBhandari avatar Mar 13 '22 20:03 ritikBhandari

@ritikBhandari sure! getAutocompleteSuggestions is where you would start in the language service

acao avatar Mar 14 '22 07:03 acao

thank you @acao, I'll start it right away!

ritikBhandari avatar Mar 15 '22 15:03 ritikBhandari

Looks like this is already done in recent versions.

coady avatar Sep 03 '23 00:09 coady