Skip to content
This repository has been archived by the owner on May 1, 2021. It is now read-only.

Problem: usage of intertrait crate #8

Closed
yrashk opened this issue Jan 25, 2021 · 0 comments · Fixed by #10
Closed

Problem: usage of intertrait crate #8

yrashk opened this issue Jan 25, 2021 · 0 comments · Fixed by #10

Comments

@yrashk
Copy link
Owner

yrashk commented Jan 25, 2021

We're currently using intertrait, which depends on linkme. While it works on Linux, macOS and Windows, it might not work elsewhere as it's platform-dependent.

In fact, there's no support for WebAssembly: dtolnay/linkme#6 and that's one of the goals for BPXE.

Potential solution: try migrating to https://github.com/Lej77/cast_trait_object

Another angle to look at it is to look at the actual problem this casting is solving: traversal of the BPMN document tree and being able to find nodes with a particular trait type and use them.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant