Hi,
this is the output for compiling a diet template
Error: inout method vibe.data.bson.Bson.opIndex is not callable using a mutable object
//product.dt
...
- foreach( field; schema.fields)
schema is a Bson object obtained from mongodb using findOne();
I get the same output from schema["fields"];
But the same code works in a normal .d file
Any ideas?