You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(go): remove hand-written PermissionRequest that conflicts with generated type
The @github/copilot 0.0.421 schema update (PR #684) caused quicktype to
generate a PermissionRequest struct in generated_session_events.go that
conflicts with the hand-written one in types.go. The generated type has
all 23+ typed fields while the hand-written one was a simplified wrapper
with an Extra map catch-all.
Remove the hand-written type and its custom UnmarshalJSON in favor of the
generated one. Update the E2E test that accessed Extra["toolName"] to
use the typed ToolName field instead.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments