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

vibe.data.json Nullable serialisation #752

Closed
brendanmckenzie opened this issue Jul 30, 2014 · 0 comments
Closed

vibe.data.json Nullable serialisation #752

brendanmckenzie opened this issue Jul 30, 2014 · 0 comments

Comments

@brendanmckenzie
Copy link

I am getting an error when my REST interface returns an object that has a Nullable!Date property.

Task terminated with unhandled exception: Called `get' on null Nullable!Date.

It appears that during serialisation, vibe.d is trying to access the get method of the Nullable! struct, and given that it's already null it's crashing.

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

1 participant