aerogear / keycloak-connect-graphql

Add Keyloak Authentication and Authorization to your GraphQL server.
Apache License 2.0
155 stars 22 forks source link

Adding example documentation for using apollo-server-express v3 transformers #133

Closed BigBallard closed 2 years ago

BigBallard commented 2 years ago

Attempted to add the transformers to the this lib but for obvious reasons of using asev3 in your project, there are v2 dependencies in this lib cant be resolved in your project. So I just added documentation for implementing the transformers yourself borrowing this libs logic. Hope it helps.

wtrocki commented 2 years ago

I do not think that anyone uses Apollo 2 anymore. I think we can kill completely support for Apollo 2 and assume that everything should work on with 3.

wtrocki commented 2 years ago

As well. I'm pretty much still have projects/users using this lib with Apollo 3 by building their schema using graphql-tools. I would rather prefer graphql-tools rather than using some semi open source features of Apollo platform. This way you could use library with graphql-express or apollo-server without difference

BigBallard commented 2 years ago

Ya I would agree with that. Besides, if anyone does use Apollo 2 this version is still available, we would just up the major version. Should we merge these docs for the time being and work on migrating to exclusive Apollo 3, or what would be that path forward, I would like to help 👍

wtrocki commented 2 years ago

Thank you so much! It will be hard for me to run the code in the docs but as form of encouragement I will merge that back and see if we can pull all of that into current example application instead later phase.