How to load and use fragments from resources? #2052
Unanswered
tippfelher
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The resources folder in my java project contains schema graphqls files which is working.
However, I also have a fragments folder which contains... fragments. For example: test.graphql
How can I use it in my
@Language("graphql")
annotated strings in my Java project?When I try to use them using
...MyEntityFields
the Editor picks them up but at runtime I am getting an error that the Fragment could not be found.I also haven't found any repo or documentation that showcases how to use fragements. (can't embed them directly because
MyEntityFields
is used in like 50 places or so.. 😢Beta Was this translation helpful? Give feedback.
All reactions