update_schema
Write field definitions to the Glean schema file. Use after infer_schema to save the schema or to manually update fields, with optional merge to combine with existing schema.
Instructions
Write field definitions to .glean/schema.json. Call this after infer_schema to save the agreed schema, or to make manual edits. Set merge: true to merge incoming fields with the existing schema (fields with the same name are replaced; new names are appended) instead of replacing the entire field list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| merge | No | If true, merge incoming fields with the existing schema (fields with the same name are replaced; new names are appended). If false (default), the entire field list is replaced. | |
| fields | Yes | Field definitions to write to .glean/schema.json |