Aliases are working fine. I can rename things in my query. But the bad thing is, that in the result everything is snake_cased.
Is this line responsible for that?
|
filtered_results[underscore(field_name)] = filter_keys_on_data(value, caller_id) |
Is the underscore necessary?
I am processing the resulting data in JavaScript with an existing code, based on camelCase data.
There was a different GraphQL server before. Now I am merging things together with your package and encountered the problem.
Aliases are working fine. I can rename things in my query. But the bad thing is, that in the result everything is snake_cased.
Is this line responsible for that?
graphql-remote_loader/lib/graphql/remote_loader/loader.rb
Line 156 in 6ee709b
Is the
underscorenecessary?I am processing the resulting data in JavaScript with an existing code, based on camelCase data.
There was a different GraphQL server before. Now I am merging things together with your package and encountered the problem.