Skip to content
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

StackOverflow exception when using IssueFilters #203

Open
mynkow opened this issue Nov 2, 2019 · 1 comment
Open

StackOverflow exception when using IssueFilters #203

mynkow opened this issue Nov 2, 2019 · 1 comment
Labels
Type: Bug Something isn't working as documented

Comments

@mynkow
Copy link

mynkow commented Nov 2, 2019

I am getting StackOverflowException when I try to apply IssueFilters. Here is the code:

ProductHeaderValue header = new ProductHeaderValue("Chronos");
var conn = new Connection(header, "123");

var filter = new IssueFilters() { Since = DateTimeOffset.UtcNow.AddDays(-1) };

var query = new Query()
    .RepositoryOwner(Variable.Var("owner"))
    .Repository(Variable.Var("repo"))
    .Issues(first: 10, filterBy: filter)
    .Nodes
    .Select(repo => new
    {
        repo.Title
    })
    .Compile();

var vars = new Dictionary<string, object>
{
    { "owner", "elders" },
    { "repo", "cronus" },
};

var result = conn.Run(query, vars).GetAwaiter().GetResult();
@github-actions
Copy link

github-actions bot commented Dec 3, 2022

👋 Hey Friends, this issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!

@github-actions github-actions bot added the Status: Stale Used by stalebot to clean house label Dec 3, 2022
@kfcampbell kfcampbell added Priority: Normal Type: Bug Something isn't working as documented labels Dec 5, 2022
@github-actions github-actions bot removed the Status: Stale Used by stalebot to clean house label Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working as documented
Projects
None yet
Development

No branches or pull requests

3 participants