According to the documentation, I used this code to build a query:
var query = new Query()
.Repository("some_repo", "MuziburRahman")
.Select(r => new
{
r.Name,
r.Description,
Issues = r.Issues(100, null, null, null, null, null, null).Select(i => i.Nodes).Select(i => new
{
i.Title,
i.Body,
}).ToList(),
});
But it shows error: An expression tree may not contain a call or invocation that uses optional arguments.
What is wrong here?