feathers-plus / generator-feathers-plus

A Yeoman generator to (re)generate a FeathersJS application supporting both REST and GraphQL architectural concepts and their query languages.
https://generator.feathers-plus.com/
Other
44 stars 30 forks source link

Small improvement for GraphQL resolvers. #256

Closed eddyystop closed 4 years ago

eddyystop commented 5 years ago

The GraphQL resolvers generate const convertArgs = convertArgsToFeathers([]);. It may be more flexible to generate const convertArgs = convertArgsToFeathers(foo); and elsewhere have let foo = []; as this would allow an easy global change.