New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation support is weak. #167
Comments
Hi 👋 Thanks for sending this and sorry for the issues! I 100% agree that the documentation should be improved. I'm myself coming from a Gradle background and it took me a while to get used to the different projects and conventions here. About some specific issues:
You just bumped into diffplug/spotless#834. This thread is long and I haven't processed all of it. All in all, my personal experience with spotless isn't great so far. Most of the times it gets in the way more than it helps so I wouldn't be against ditching it altogether but until there's a decision on that, I opened #169 as a follow up. In the short term, you can downgrade your JDK to something < 16 and it should do the job.
This is happening because I'm not sure there's a good solution for that one. Checking Overall, and as we move towards a Federation2 release, I'm hoping the documentation and sample code can be updated so that the initial onboarding is better. Until then feel free to comment on this issue and we can investigate any issue you have setting up your project. |
Thanks. I appreciate the thoughtful response. I was frustrated because we did this as a POC and had a time box of 3 weeks to see it might be an approach before we got put on to other features. We actually switched out the library to https://netflix.github.io/dgs/ and we've been swimming ever since. We had no pain in setting up that library. It is really easy on the eyes and the documentation is fantastic. Any reason why you haven't combined efforts here? I would assume that Netflix supports 183 million global customers is reason enough to try out their library. Also curious that you don't link to it in apollo documentation in the list of supported federated clients? |
That makes a lot of sense. DGS is a nice library and actually it uses
There is a list of compatible servers at https://www.apollographql.com/docs/federation/other-servers/. It contains DGS (for Federation1, Federation2 coming shortly). But maybe that page was not easy to find? Were you looking into other places? |
Hello 👋
As for the mentioned issues:
If documentation still needs updating, feel free to re-open this issue with additional details. |
It would be nice to consider making the documentation better. If you are new to SpringBoot, this project is a minefield of broken dependencies, assumptions and the examples are kind of broken out of the box.
If you are trying to consider this as a pitch for companies to go federated, you might consider trying to get one of your own junior devs to try to set this project up and then see how many times they have to slack you for information that's assumed or simply doesn't work out of the box.
This is library is really frustrating...
mvn -pl spring-example spring-boot:run -Dspring-boot.run.profiles=graphql-java-tools
For example: import mdg.engine.proto.Reports;
is a dependency that won't even resolve when trying to use eclipse and build the project that way.
Thanks for your time.
The text was updated successfully, but these errors were encountered: