Replies: 2 comments 2 replies
-
You are writing your own custom plugin that lives outside of gqlgen's codebase? Or are contributing a plugin to gqlgen? Not sure exactly what you mean, so not sure about the pros and cons. Watch out for cyclical dependencies. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Actually both would be quite helpful! You might compare your implementation to the existing prometheus plugin: https://github.com/99designs/gqlgen-contrib I have not gotten as many contributions to that repository as I have to this one, so it could use some sprucing up. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, we're writing the gqlgen's plugin to generate some internal files, and it needs to use
ImportPathForDir
to get the package name, but it's an internal function. So I'm wondering if it's good to re-export this function in the codegen package? cc @StevenACoffmanBeta Was this translation helpful? Give feedback.
All reactions