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

Comments

Projects
None yet
1 participant
@brendanmckenzie

brendanmckenzie commented Jul 30, 2014

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.

@s-ludwig s-ludwig closed this in c2e7e15 Jul 30, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment