Last active
October 4, 2025 03:27
-
-
Save afhammad/16fc3592bad2d89959d31ac60115e5b9 to your computer and use it in GitHub Desktop.
Disable GraphQL schema introspection in Elixir Absinthe using a plugin
Author
@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.underscorein 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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@andrewrowe-wk I added MIT license, feel free to copy!