Open piegamesde opened 3 years ago
I'd like to list some pull request on a repository but it fails with the following error: "missing field merged at line 1 column 16964"
merged
The following code fails for me with the error above:
let github = Github::new( concat!(env!("CARGO_PKG_NAME"), "/", env!("CARGO_PKG_VERSION")), None, )?; let pulls = github.repo("NixOS", "nixpkgs") .pulls() .list(&Default::default()) .await?;
hubcaps version: a9e6616ecc7b8eef0ea0eaf6055d9610c8961500
I managed to get this to work by removing the line pub merged: bool, in Pull. Therefore wrapping that value in an Option seems to be necessary.
pub merged: bool,
Pull
Option
🐛 Bug description
I'd like to list some pull request on a repository but it fails with the following error: "missing field
merged
at line 1 column 16964"👟 Steps to reproduce
The following code fails for me with the error above:
🌍 Your environment
hubcaps version: a9e6616ecc7b8eef0ea0eaf6055d9610c8961500