Refactoring: Create specific types for platform / template items
michaelsauter opened this issue · 1 comments
michaelsauter commented
Right now both kinds of items share the same Go type - it would be clearer and safer if we would make specific types for each, embedding the general Go type. E.g. new PlatformResourceItem
and TemplateResourceItem
, which embed ResourceItem
.
michaelsauter commented
See cb4f1a6.