feat(yaml): added YAML files support#2
Merged
Artifizer merged 5 commits intoGlobalTypeSystem:mainfrom Nov 9, 2025
Merged
Conversation
… Yaml and TypeSpec
5 tasks
KvizadSaderah
pushed a commit
to KvizadSaderah/gts-rust
that referenced
this pull request
Feb 12, 2026
Move GTS ID validation logic into a new lightweight gts-id crate to eliminate duplication between gts (runtime) and gts-macros (compile-time). Both crates now delegate to gts_id::validate_gts_id() as the single source of truth. Also fix segment GlobalTypeSystem#1 error messages to show expected format with gts. prefix (gts.vendor.package.namespace.type.vMAJOR[.MINOR]) while segments GlobalTypeSystem#2+ show without prefix, per reviewer feedback. Signed-off-by: Dmitry Efremov <Dmitry.Efremov@acronis.com>
Artifizer
added a commit
to Artifizer/gts-rust
that referenced
this pull request
Feb 17, 2026
- Add resolve_schema_refs_checked() to detect $ref cycles during resolution. - Use checked resolution in OP#12 validate_schema_chain and OP#13 validate_schema_traits so self-referential and multi-node $ref cycles correctly fail validation instead of being silently dropped. - Extend gts-id segment parsing to allow an extended namespace form in segment GlobalTypeSystem#1 (5 name tokens before version) required by local spec tests, while keeping segment GlobalTypeSystem#2+ strict. Signed-off-by: Artifizer <artifizer@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.