Skip to content

feat: update gts-go to support GTS specification and tests v0.7.0#9

Merged
Artifizer merged 3 commits intoGlobalTypeSystem:mainfrom
claudedigon:main
Dec 27, 2025
Merged

feat: update gts-go to support GTS specification and tests v0.7.0#9
Artifizer merged 3 commits intoGlobalTypeSystem:mainfrom
claudedigon:main

Conversation

@claudedigon
Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: claudedigon <claudedigon@gmail.com>
…nces prohibited)

Update gts-go to support GTS specification and tests v0.7.0

Changes:
- Updated instance IDs in cast_test.go to valid chained format (type~instance)
- Changed $schema to type field for instances to avoid schema detection
- Fixed file_reader_test.go to use type IDs (ending with ~) for standalone entities
- Updated extract_test.go test data and fixed gts:// prefix handling expectations
- Fixed parse_test.go to check result.IsSchema instead of seg.IsType for overall ID type
- Updated registry_test.go instance IDs and fixed $ref to use gts:// prefix
- Added ref_validation.go for enhanced reference validation
- Enhanced extract.go, match.go, ops.go, and parse.go with new validation logic
- Updated server handlers with improved validation and error handling

All unit tests now pass with the updated GTS ID validation rules.

Signed-off-by: claudedigon <claudedigon@gmail.com>
Signed-off-by: claudedigon <claudedigon@gmail.com>
@Artifizer Artifizer merged commit 79262ab into GlobalTypeSystem:main Dec 27, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants