Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Question] Serialize internal properties? #63

Open
IonRobu opened this issue May 11, 2022 · 1 comment
Open

[Question] Serialize internal properties? #63

IonRobu opened this issue May 11, 2022 · 1 comment
Labels
Question Question about this project Triage Issue needs to be triaged

Comments

@IonRobu
Copy link

IonRobu commented May 11, 2022

Hello,

I have a plain class

internal class NavigationStore
	{
		public string Page { get; set; }

		public string Route { get; set; }

		public object[] Parameters { get; set; }
	}

which is serialized in SessionStorage.
If I change modifier type from public to internal for properties, the properties are not serialized anymore.
Not sure if this behavior could be changed or even should be changed; is just a question.

Thanks,
Ion

@IonRobu IonRobu added Question Question about this project Triage Issue needs to be triaged labels May 11, 2022
@polajenko
Copy link

I would like to know the same thing.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Question Question about this project Triage Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants