Skip to content

Commit dce7cf6

Browse files
authored
Merge pull request #203 from objectstack-ai/copilot/check-export-job-status
2 parents 0ae6a6d + 056c9a6 commit dce7cf6

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

examples/showcase/enterprise-erp/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ src/
8181
│ └── index.ts
8282
8383
├── extensions/ # Custom Extensions/Overrides
84-
│ ├── user.extension.object.yml
84+
│ ├── user_extension.object.yml
8585
│ └── README.md
8686
8787
├── shared/ # Shared Utilities
@@ -251,7 +251,7 @@ fields:
251251
email: { type: text }
252252
```
253253

254-
**Extension** (`extensions/user.extension.object.yml`):
254+
**Extension** (`extensions/user_extension.object.yml`):
255255
```yaml
256256
name: user # Same name triggers merge
257257
fields:

examples/showcase/enterprise-erp/src/extensions/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Extensions use ObjectQL's **Schema Merging** feature. When you define an object
88

99
## Example: Extending the User Object
1010

11-
The `user.extension.object.yml` file extends the core `user` object with company-specific customizations:
11+
The `user_extension.object.yml` file extends the core `user` object with company-specific customizations:
1212

1313
1. **Adding fields** - Links to employee record, office location
1414
2. **Overriding properties** - Making email required and unique
@@ -30,12 +30,12 @@ The `user.extension.object.yml` file extends the core `user` object with company
3030
## File Naming Convention
3131

3232
```
33-
[object_name].extension.object.yml
33+
[object_name]_extension.object.yml
3434
```
3535

3636
Examples:
37-
- `user.extension.object.yml` - Extends the `user` object
38-
- `organization.extension.object.yml` - Extends the `organization` object
37+
- `user_extension.object.yml` - Extends the `user` object
38+
- `organization_extension.object.yml` - Extends the `organization` object
3939

4040
## Loading Order
4141

examples/showcase/enterprise-erp/src/extensions/user.extension.object.yml renamed to examples/showcase/enterprise-erp/src/extensions/user_extension.object.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
# File: user.extension.object.yml
2-
# Object name is inferred from filename as 'user'
1+
# File: user_extension.object.yml
2+
# Explicitly set name to 'user' to extend the core user object
33
# This extends the core user object with company-specific fields
4+
name: user
45
label: System User (Extended)
56

67
ai_context:

0 commit comments

Comments
 (0)