Closed madsnedergaard closed 3 years ago
cc @skovhus
It could also make sense to let the model run, and let it model throw an error that says specifically that we expect an identifier here. Just a thought. I think this approach works as well!
If we want to use modelCanRun
functionality more actively in Bloom, I think it makes sense to ensure it reflects reality :)
Failing builds fixed in #468, awaiting merging of that one.
Issue
Resolves #465
Description
Changes the Purchases
modelCanRun
function to check foridentifier
inlineItems
.FYI
This change will mean the co2engine package will throw many more
'No carbonModel available for this activity.'
errors. I don't think it has any implications, but would love some additional thoughts here :)