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

add JsonConstructorAttribute to internal Method() constructor #1586

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

Bertk
Copy link
Collaborator

@Bertk Bertk commented Jan 13, 2024

resolve #1583

@Bertk Bertk added bug Something isn't working blocking-users Issue is blocking some users labels Jan 14, 2024
@Bertk Bertk requested a review from daveMueller January 16, 2024 08:37
@Bertk Bertk self-assigned this Jan 16, 2024
@MarcoRossignoli MarcoRossignoli merged commit 1981476 into coverlet-coverage:master Jan 16, 2024
8 checks passed
@Bertk Bertk deleted the issue-1583 branch January 16, 2024 15:35
@daveMueller
Copy link
Collaborator

@Bertk are you positive that this solves the problem? I tried it yesterday real quick with a self-compiled version and still faced this issue. Could be that I did something wrong but didn't have more time to investigate.

@pinkfloydx33
Copy link

I hadn't had a chance to validate using the package from the CI pipeline and was going to try and do so momentarily. Will let you know if it fixes my issue

@pinkfloydx33
Copy link

@daveMueller see my comment on #1583 . It does not fix it for me either and I don't think it will for anyone.

@Bertk
Copy link
Collaborator Author

Bertk commented Jan 17, 2024

@daveMueller No I was not convinced to solve the issue and ask for feedback.

In .NET 7 and earlier versions, the [JsonConstructor] attribute can only be used with public constructors.

@pinkfloydx33 Thank you for the analysis. I was not aware of this limitation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocking-users Issue is blocking some users bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Coverlet Nightly Crashing when merging JSON results
4 participants