strawberry.codegen.QueryCodegenPlugin
Constructor:
Initialize the plugin.
The singular argument is the path to the file that is being processed by this plugin.
Signature:
Parameters:
-
query:
- Type
-
Path
Methods:
-
on_start
Signature:
-
on_end
Signature:
Parameters:
-
result:
- Type
-
CodegenResult
-
-
generate_code
Signature:
Parameters:
-
types:
- Type
-
List[GraphQLType]
-
operation:
- Type
-
GraphQLOperation
-
Attributes:
-
query: