Reduce setup friction
Closed this issue · 0 comments
thebadmonkeydev commented
Ideas
- Is there a way to get rid of the need to set
field_class GraphQL::Cache::Field
to allow for cache metadata?- don't use metadata and instead make a DSL method
cached_field
that takes options for cache metadata? - Override the field class in the GraphQL namespace (probably not a great idea and likely to break with each change of the class in the graphql-ruby gem.
- don't use metadata and instead make a DSL method
- Generaters or setup tasks for setting middleware?
- Make user set
schema
in configuration and then add middleware/plugins/field integrations automatically on the schema object?