Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Sharing fragments #65
Sharing fragment between queries and schemas.
This feature only enable if developer declare input
Will work well if it is declared within
Because in original source, even if i have 2 fragments with same name,
So i came up with that solution.
In a huge project my team working on it's convenient to use sharing fragments.
Already considered this issue: #52
comigor left a comment •
Hey there @minhthong095! First of all, thanks for this PR.
Although I still think the proper approach to this enhancement would be to have middlewares, I was unable to fully work on it yet, so this PR would be the best solution for this for the time being.
However, we need to have tests (and examples) of how to use this new configuration, along with proper changes on documentation.
Could you do those changes? Ping me if you need any help!