feat: add @@delegateMap attribute to custom delegate value mapping#6
Draft
Copilot wants to merge 10 commits into
Draft
feat: add @@delegateMap attribute to custom delegate value mapping#6Copilot wants to merge 10 commits into
Copilot wants to merge 10 commits into
Conversation
…hic) models Agent-Logs-Url: https://github.com/motopods/zenstack/sessions/678a87a1-1e67-44f9-95ee-e77f3d5e81cc Co-authored-by: motopods <58200641+motopods@users.noreply.github.com>
Agent-Logs-Url: https://github.com/motopods/zenstack/sessions/678a87a1-1e67-44f9-95ee-e77f3d5e81cc Co-authored-by: motopods <58200641+motopods@users.noreply.github.com>
…-content feat(orm): implement discriminated union return types for delegate (polymorphic) models
…egate (polymorphic) models"
…rence-for-content Revert "feat(orm): implement discriminated union return types for delegate (polymorphic) models"
Agent-Logs-Url: https://github.com/motopods/zenstack/sessions/7a477e37-ef5e-4109-90fd-7665b7cf505a Co-authored-by: motopods <58200641+motopods@users.noreply.github.com>
…ValueString; improve test assertion Agent-Logs-Url: https://github.com/motopods/zenstack/sessions/7a477e37-ef5e-4109-90fd-7665b7cf505a Co-authored-by: motopods <58200641+motopods@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
motopods
April 4, 2026 14:24
View session
…option 3 from issue zenstackhq#2558) Agent-Logs-Url: https://github.com/motopods/zenstack/sessions/5b7094aa-8838-4923-8f14-79a7db3df675 Co-authored-by: motopods <58200641+motopods@users.noreply.github.com>
Agent-Logs-Url: https://github.com/motopods/zenstack/sessions/5b7094aa-8838-4923-8f14-79a7db3df675 Co-authored-by: motopods <58200641+motopods@users.noreply.github.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.
@@delegateto single-arg form in stdlib.zmodel; add@@delegateMapattributeisDelegateModelin language/utils.ts and sdk/model-utils.ts@@delegateMap@@delegateMap(10 tests pass)@@delegateMap(4 tests pass)@@delegateMapmust be on a child model of a delegate