Use the built-in GraphQL authorization code
Summary
In 1.8.x
, the graphql-ruby gem added authorization code (based on their Pro version) into the main gem. It continues to be integrated in 1.9.x
.
We have written our own authorization code. During upgrading our gem, there were some overlaps. We should consider whether we can replace our own version with the built in version.
https://graphql-ruby.org/authorization/overview
Improvements
This would move a complicated chunk of our code into the gem , that gets used and enhanced and supported by the wider community.
Future gem upgrades should be easier and with fewer conflicts
Risks
Depending how different the two methodologies are, it could be significant rework
Involved components
All graphql files
Edited by charlie ablett