Skip to content

How to best work with custom graphene.ObjectTypes with the optimizer? #63

Closed Answered by MrThearMan
rsomani95 asked this question in Q&A
Discussion options

You must be logged in to vote

For closure, this has been solved in v0.5.1.

Since I also mentioned adding hooks for configuring parts of the optimizer in this discussion, I'm announcing here that this is now possible in v0.6.0. Users can now simply subclass OptimizationCompiler, QueryOptimizer, FilterInfoCompiler, or FieldSelectionCompiler, and the library will then use those subclasses internally. This allows modifying specific parts of them without rewriting large parts of the library that use those classes.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@rsomani95
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by MrThearMan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants