Skip to content

Commit 7054cd1

Browse files
committed
Fix StubIAuditEntry.Actor property
Replace AuditEntryActor Actor with IQueryableList<AuditEntryActor> Actor.
1 parent cc27328 commit 7054cd1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Octokit.GraphQL/Model/AuditEntry.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ internal StubIAuditEntry(Expression expression) : base(expression)
9696

9797
public string Action { get; }
9898

99-
public AuditEntryActor Actor => this.CreateProperty(x => x.Actor, Octokit.GraphQL.Model.AuditEntryActor.Create);
99+
public IQueryableList<AuditEntryActor> Actor => this.CreateProperty(x => x.Actor);
100100

101101
public string ActorIp { get; }
102102

@@ -120,9 +120,6 @@ internal StubIAuditEntry(Expression expression) : base(expression)
120120

121121
public string UserUrl { get; }
122122

123-
// HACK: This wasn't auto-generated
124-
IQueryableList<AuditEntryActor> IAuditEntry.Actor => throw new NotImplementedException();
125-
126123
internal static StubIAuditEntry Create(Expression expression)
127124
{
128125
return new StubIAuditEntry(expression);

0 commit comments

Comments
 (0)