-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
At a loss for pushing the issue using Create() #1053
Comments
Try: |
Thanks, this fixed it. |
Reopening this to get it addressed in the documentation |
I was just confused as to where "_issuesClient" came from, as I suspect others will/would be - maybe clarifying that would help others. |
@JakesCode could you link to where in the docs you found this |
This was merged into |
Don't know if this is the place to ask, but I couldn't find anywhere else to ask a question directly relating to octokit.
I'm developing this app where there's an option to report any issues with it. I've managed to create the Issue using the documentation provided with this:
No compile errors, everything worked. Until I tried to use Create;
Firstly, the docs specified this:
....where does "_issuesClient" come from? I couldn't find anything in the docs about it and then decided to experiment, eventually discovering that replacing it with
Octokit.IssuesClient
seemed to include something called "Create", so I went with it.Currently, the line is this:
....but no matter what I do, I get the error
An object reference is required for the non-static field, method, or property 'IssuesClient.Create(string, string, NewIssue)'
Please could you shed some light on this? From what I gather it needs me to pass it 2 strings and a NewIssue, which I have? Reading up on the error doesn't seem to help either as everyone is in a different context to me.
Here is the full method:
Thanks for any help,
Jake
The text was updated successfully, but these errors were encountered: