Closed sshine closed 4 years ago
In ForgeOperationsQuery, public Task<JToken> PostAsync(string contents) is being overridden, but PostAsync in RpcPost is not marked as virtual.
public Task<JToken> PostAsync(string contents)
PostAsync
This commit assumes that all PostAsync methods in RpcPost are allowed to be overridden even though only one is currently being overridden.
And it marks that one case with override.
override
Note that this change was necessary to be able to run tests for #13.
Let me know if this issue needs to be resolved in another way than proposed here.
Thank you for the PR! That method was actually placed there mistakenly, as it does nothing, so it's better to simply removed it 🙂
In ForgeOperationsQuery,
public Task<JToken> PostAsync(string contents)
is being overridden, butPostAsync
in RpcPost is not marked as virtual.This commit assumes that all
PostAsync
methods in RpcPost are allowed to be overridden even though only one is currently being overridden.And it marks that one case with
override
.Note that this change was necessary to be able to run tests for #13.