graphiti-api / graphiti

Stylish Graph APIs
https://www.graphiti.dev/
MIT License
960 stars 138 forks source link

Ruby-3.0 splits named and positional parameters #432

Open belt opened 1 year ago

belt commented 1 year ago

Current serialization only accounts for positional parameters in resource functions

See: https://github.com/graphiti-api/graphiti/pull/431 for a fix

See https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/ for details, and https://bugs.ruby-lang.org/issues/14183 for even more details

NOTE: Assume we are willing to no longer support ruby-2.6.x .. ruby-2.7.x supports ... forwarding