Commit a7db279
committed
Relative URL handling w/ auto baseUrl inference
- Automatically infer baseUrl from object's @id when not provided
- Use document URL as fallback baseUrl when fetching remote objects
- Add comprehensive tests for relative URL resolution scenarios
- Update property fetching to use documentUrl for baseUrl inference
- Remove manual baseUrl parameter from property getter methods
This eliminates the need for manual baseUrl specification in most cases
while maintaining full compatibility with existing code.
#4111 parent 3b3c046 commit a7db279
6 files changed
Lines changed: 1364 additions & 1077 deletions
File tree
- packages/fedify/src
- codegen
- __snapshots__
- vocab
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
0 commit comments