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

public class ProductDetails : Payload appears to be an incorrect mapping for RevisionId #9

Open
Noemata opened this issue Jan 4, 2021 · 2 comments

Comments

@Noemata
Copy link

Noemata commented Jan 4, 2021

Changing the following in ProductDetails corrects JSON conversion exceptions when getting data back from the store:

        // MP! was:
        //public DateTimeOffset RevisionId { get; set; }
        // MP! changed: To resolve JSON conversion exception.
        //             Type mapping was probably incorrect.
        public string RevisionId { get; set; }

RevisionId does not sound like a DateTimeOffset value.

@tuxuser
Copy link
Contributor

tuxuser commented Jan 19, 2021

Do you possibly have example JSONs that contain RevisionId ?

@Noemata
Copy link
Author

Noemata commented Jan 19, 2021

Here's one example:

{"RevisionId": "2020-12-15T04:11:02.0384876Z||22f9f987-7000-47da-8daf-4fab6851bd6d||PackageVersion1"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants