Thanks.
I'm making a Rest API with vibe.d and I have a struct User.
Sometimes I need to return only a few of the fields. So for
example: return User(1, null, "John", null, null, ...);
If I do this, an error occurs: cannot implicitly convert
expression null of type typeof(null) to ...
- How do I use null in a struct? Václav Kozák via Digitalmars-d-learn
- Re: How do I use null in a s... drug via Digitalmars-d-learn
- Re: How do I use null in a s... Sebastiaan Koppe via Digitalmars-d-learn
- Re: How do I use null in a s... Heromyth via Digitalmars-d-learn