Skip to content

Make ProcessFlow::commodity_id into Rc<Commodity> #166

@alexdewar

Description

@alexdewar

This makes sense both to validate the input and also to provide better typing.

In order to implement this, we will probably have to rename the existing ProcessFlow struct into ProcessFlowRaw and provide a new ProcessRaw struct with the appropriate field, then write a function to convert between the two. See process.rs for similar examples.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions