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

JsonConstructorAttribute not working with internal members. #90576

Closed
eiriktsarpalis opened this issue Aug 15, 2023 · 2 comments
Closed

JsonConstructorAttribute not working with internal members. #90576

eiriktsarpalis opened this issue Aug 15, 2023 · 2 comments

Comments

@eiriktsarpalis
Copy link
Member

eiriktsarpalis commented Aug 15, 2023

Hello @eiriktsarpalis,

I have tested with .NET 8.0 Preview7 SDK with Rider. It's not working. It's throwing the following exception:

image

My SDKs:

image

Debug Log:

image

Employee class:

image

Originally posted by @TanvirArjel in dotnet/docs#36128 (comment)

@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Aug 15, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Aug 15, 2023
@eiriktsarpalis eiriktsarpalis changed the title Hello @eiriktsarpalis, JsonConstructor not working with internal members. Aug 15, 2023
@eiriktsarpalis eiriktsarpalis changed the title JsonConstructor not working with internal members. JsonConstructorAttribute not working with internal members. Aug 15, 2023
@eiriktsarpalis eiriktsarpalis added area-System.Text.Json and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Aug 15, 2023
@ghost
Copy link

ghost commented Aug 15, 2023

Tagging subscribers to this area: @dotnet/area-system-text-json, @gregsdennis
See info in area-owners.md if you want to be subscribed.

Issue Details

Hello @eiriktsarpalis,

I have tested with .NET 8.0 Preview7 SDK with Rider. It's not working. It's throwing the following exception:

image

My SDKs:

image

Debug Log:

image

Employee class:

image

Originally posted by @TanvirArjel in dotnet/docs#36128 (comment)

Author: eiriktsarpalis
Assignees: -
Labels:

area-System.Text.Json, untriaged

Milestone: -

@eiriktsarpalis
Copy link
Member Author

Duplicate of #90577

@eiriktsarpalis eiriktsarpalis marked this as a duplicate of #90577 Aug 15, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Aug 15, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Sep 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant