Pinned properties in Snowplow contexts show up in Codegen functions
A
Andi
When creating events with attached Snowplow contexts, the schema of the context have to be pinned. But the schema property still shows up in the Codegen code wrongly:
```
Avo.orderCompleted({
product: product, /* list of ({
"schema": string,
"id": string,
"name": nullable string,
"category": string,
"price": (min 0 max 9999999),
"list_price": nullable (min 0 max 9999999),
"quantity": nullable (min 0 max 9999999),
"variant": nullable string,
"brand": nullable string,
"inventory_status": nullable string,
"position": nullable (min 0 max 9999999),
"currency": string,
"creative_id": nullable string,
}) */
transaction: transaction, /* ({
"schema": string,
"transaction_id": string,
"revenue": (min 0 max 9999999),
"currency": string,
"total_quantity": int,
"tax": nullable float,
"shipping": nullable float,
"discount_code": nullable string,
"discount_amount": nullable float,
"credit_order": nullable bool,
"payment_method": nullable (restricted to : "StripePayment", "SepaPayment", "PayPalPayment", "AmazonPayment"),
}) */
});
```
Hugi Hlynsson
Hi Andy and thanks for your report! I'll have our best Codegen engineer take a look and see if we can't make this right