Closed joachimvh closed 1 year ago
Thanks for reporting!
I'm surprised such value references even works with value
. Is this a documented feature (I don't remember it being one)? It may just work by chance π
I found out about their existence in a random comment in a discussion π
Changing this to a feature request then :-)
Issue type:
Description:
Assume you define a value somewhere using
valueRaw
:and use it as a key somewhere
Components.js will throw the error found at https://github.com/LinkedSoftwareDependencies/Components.js/blob/078dedc48cd88e037c7b0da722fc4280d317b17a/lib/construction/argument/ArgumentConstructorHandlerHash.ts#L32C3-L34
Using it as a value seems to work fine.
Environment:
Windows, Node v16.13.1, Components.js v5.3.2
Crash log: