@causa/workspace-google 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -130,7 +130,8 @@ additionalProperties: false
130
130
  causa:
131
131
  # This must be set for the decorators to be added to the class.
132
132
  googleFirestoreCollection:
133
- # Mandatory, the name of the Firestore collection.
133
+ # Optional, the name of the Firestore collection.
134
+ # If not set, the `name` is omitted from the decorator options.
134
135
  name: myCollection
135
136
  # Mandatory, determines how to create the path for a document.
136
137
  path: [property: id]
@@ -166,6 +167,8 @@ model:
166
167
  # Same as Spanner globs.
167
168
  globs:
168
169
  - ../firestore/*.yaml
170
+ # Optional, generates the document path as an array of segments instead of a slash-joined string.
171
+ pathAsArray: true
169
172
  ```
170
173
 
171
174
  ## 🔨 Custom `google` commands