Consider excluding virtual fields when inspecting #24
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
For example, without excluding virtual fields:
Because field
:foo
is missing in the struct, so the inspect result looks like a map:inspect(Pacer.Workflow.execute(%TestWorkflow{foo: 1}))
=>%{__struct__: TestWorkflow, bar: 2}
When exclude virtual fields manually:
The inspect result is same as struct with excluded fields:
inspect(Pacer.Workflow.execute(%TestWorkflow{foo: 1}))
=>#TestWorkflow<bar: 2, ...>
The text was updated successfully, but these errors were encountered: