question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error while deserializing a document of WorflowDefinition - MongoDB

See original GitHub issue

I created an example application following the documentation, when switching from sqlite to mongodb I am getting the following error

An error occurred while deserializing the CreatedAt property of class Elsa.Models.WorkflowDefinition: Value class NodaTime.Instant cannot be deserialized.

When viewing documents, createdat and other timestamp related properties are empty

All packages in version 2.8.2.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:3
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
ManoDoddycommented, Jul 18, 2022

Any chance any of you can share your sample project with me so I can take a look?

I made a small project available on my github

https://github.com/ManoDoddy/elsa-mongo-test

2reactions
sfmskywalkercommented, Jul 14, 2022

Any chance any of you can share your sample project with me so I can take a look?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deserialization Error ASP.NET MongoDB
An error occurred while deserializing the Id property of class Acord_Rest_API.Models.Document: Cannot deserialize string from BsonType ObjectId.
Read more >
Problem with deserialization - Drivers & ODMs
I have a class with a Point class field called “APoint”. The document is created and APoint is an object with X and...
Read more >
Mongo Java Driver Deserialization error when using ...
I'm using Mongo Java Driver 3.12 and have configured AutomaticPojoCodec. I'm writing a query which requests selected fields using ...
Read more >
C# driver not deserializing a property
I'm upgrading from using BsonDocument everywhere, to using deserialization on POCO objects. Overall the objects are populated with correct ...
Read more >
How to Ignore some fields during deserialization using ...
Hi,. I'm dealing with below POJO for automatic serialization and deserialization using Mongo Java Driver:
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found