Fix ResourceLinkBlock deserialization by adding missing "name" case (#645)
* Initial plan * Initial analysis and plan for ResourceLinkBlock deserialization fix Co-authored-by: eiriktsarpalis <2813363+eiriktsarpalis@users.noreply.github.com> * Fix ResourceLinkBlock deserialization by adding missing "name" case Co-authored-by: eiriktsarpalis <2813363+eiriktsarpalis@users.noreply.github.com> * Remove unnecessary dotnet-install.sh file Co-authored-by: eiriktsarpalis <2813363+eiriktsarpalis@users.noreply.github.com> * Use const for JSON string variables and improve indentation Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com> * Remove temporary backup file Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com> * Change JSON variable names to use PascalCase (Json) as requested Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: eiriktsarpalis <2813363+eiriktsarpalis@users.noreply.github.com> Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
This commit is contained in:
parent
9e12167dc8
commit
650df63194
1 changed files with 87 additions and 0 deletions
|
|
@ -103,6 +103,10 @@ public abstract class ContentBlock
|
|||
text = reader.GetString();
|
||||
break;
|
||||
|
||||
case "name":
|
||||
name = reader.GetString();
|
||||
break;
|
||||
|
||||
case "data":
|
||||
data = reader.GetString();
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue