Skip to main content

plan

Function plan 

Source
pub fn plan(ir: &WesleyIR, operations: &[SchemaOperation]) -> Vec<CodecDef>
Expand description

Lower a Wesley L1 IR and its operations into the codec plan.

Enums, input objects, and output objects each become a CodecDef; operation root types (Query / Mutation / Subscription) are skipped as data types but their variables become CodecDef::Operation.