-
-
Save afhammad/16fc3592bad2d89959d31ac60115e5b9 to your computer and use it in GitHub Desktop.
@afhammad This is a life saver. Thank you!
What is this code licensed as? If you choose a license, could you upload it to the gist? I would personally like it to be MIT licensed for easy copy/paste, but obviously you can choose what you want :)
@afhammad This is a life saver. Thank you!
What is this code licensed as? If you choose a license, could you upload it to the gist? I would personally like it to be MIT licensed for easy copy/paste, but obviously you can choose what you want :)
@andrewrowe-wk I added MIT license, feel free to copy!
@afhammad This is a life saver. Thank you!
What is this code licensed as? If you choose a license, could you upload it to the gist? I would personally like it to be MIT licensed for easy copy/paste, but obviously you can choose what you want :)@andrewrowe-wk I added MIT license, feel free to copy!
Thank you! This is fantastic!
Just a quick follow up question...
Looking at the revisions, I am having a hard time determining the motivation for moving from String.downcase
to Macro.underscore
in the before_resolution
function. Is there some specific edge case that counts for? I see that it converts things like _Schema
to __schema
, but I wasn't able to find anything in GQL spec about using capital letters for reserved words.
Here is another solution
and then in your schema add
@pipeline_modifier DisableIntrospection
unfortunately this doesn't get rid of suggestions, which are really aggressive in AbsInThe and could be used to dump the entire schema fairly easily.