Closed connorshea closed 4 years ago
Sorbet requires that, e.g. required kwargs go before optional kwargs, so this fixes the method's parameter ordering when generating RBIs. Otherwise, invalid RBIs will be generated.
This is especially noticeable when running Sord on https://github.com/rmosolgo/graphql-ruby.
See also #107.
Sorbet requires that, e.g. required kwargs go before optional kwargs, so this fixes the method's parameter ordering when generating RBIs. Otherwise, invalid RBIs will be generated.
This is especially noticeable when running Sord on https://github.com/rmosolgo/graphql-ruby.
See also #107.